wesm opened a new pull request #7461:
URL: https://github.com/apache/arrow/pull/7461


   With clang-8 on Linux this unit is now 654KB down from 1257KB. 
   
   A few strategies:
   
   * Use same binary code for Less/Greater and LessEqual/GreaterEqual with 
arguments flipped
   * Reuse kernels for primitive types represented as integers
   * Reuse kernels for binary/string and largebinary/largestring
   
   On the latter matter, I had to rewrite some of the codegen_internal.h 
routines where they assumed they would receive the specific logical type as the 
compile-time parameter (possibly causing a conflict when trying to put a 
BinaryArray box around a StringArray's ArrayData). This makes kernel execution 
against string data faster in the places where `ArrayIterator` is used. Will 
run benchmarks
   
   As an aside, in general these kernel code generators will likely have lower 
and lower level code over time.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to