You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Back out "Free up memory in DictionaryEncoding::encode faster" (#175)
Summary:
Pull Request resolved: #175
The diff above will create a big memory bandwidth regression.
Nimble Buffers are not meant to be short lived.
Each buffer allocates a very big chunk of memory inside.
The proper fix (which was planned to be implemented as part of the compression fallback change) was to have two buffers to be used at the time of encodings.
One for temp memory, like this (which will be dicarded after all encodings are done), and one for holding the encoding results.
Reverting this change for now.
Reviewed By: sdruzkin
Differential Revision: D75824819
fbshipit-source-id: f40fd2311dc456191b3822188d1deb770dc29f2d
0 commit comments