Indexing BYTE_ARRAY columns is a frequent use case and when done at high throughput, the creation of string copies to capture the dictionary keys would result in excessive time spent in memory allocations.
This PR addresses the issue by using a local allocator in the byteArrayDictionary type to amortize the cost of memory allocations for the dictionary keys.
Indexing BYTE_ARRAY columns is a frequent use case and when done at high throughput, the creation of string copies to capture the dictionary keys would result in excessive time spent in memory allocations.
This PR addresses the issue by using a local allocator in the
byteArrayDictionary
type to amortize the cost of memory allocations for the dictionary keys.