spark-instrumented-optimizer/sql/catalyst
Reynold Xin 9514d874f0 [SPARK-9458] Avoid object allocation in prefix generation.
In our existing sort prefix generation code, we use expression's eval method to generate the prefix, which results in object allocation for every prefix. We can use the specialized getters available on InternalRow directly to avoid the object allocation.

I also removed the FLOAT prefix, opting for converting float directly to double.

Author: Reynold Xin <rxin@databricks.com>

Closes #7763 from rxin/sort-prefix and squashes the following commits:

5dc2f06 [Reynold Xin] [SPARK-9458] Avoid object allocation in prefix generation.
2015-07-29 20:46:03 -07:00
..
src [SPARK-9458] Avoid object allocation in prefix generation. 2015-07-29 20:46:03 -07:00
pom.xml [SPARK-7956] [SQL] Use Janino to compile SQL expressions into bytecode 2015-06-04 10:28:59 -07:00