kiszk edited a comment on issue #23171: [SPARK-26205][SQL] Optimize In for bytes, shorts, ints URL: https://github.com/apache/spark/pull/23171#issuecomment-447540932 Comment about JIT code generation for switch statement. Regardless of lookupswitch/tableswitch, JIT compiler generations native instructions suitable for data size/density (binary tree, table lookup, (or simple if-then?)). It would be good to see [this article](https://stackoverflow.com/questions/44988841/force-tableswitch-instead-of-lookupswitch).
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
