diff options
author | Reynold Xin <rxin@databricks.com> | 2015-07-29 21:18:43 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-29 21:18:43 -0700 |
commit | 07fd7d36471dfb823c1ce3e3a18464043affde18 (patch) | |
tree | d52b8914c9afbd1b382f8112c80490df9b3cb51e /pylintrc | |
parent | 9514d874f0cf61f1eb4ec4f5f66e053119f769c9 (diff) | |
download | spark-07fd7d36471dfb823c1ce3e3a18464043affde18.tar.gz spark-07fd7d36471dfb823c1ce3e3a18464043affde18.tar.bz2 spark-07fd7d36471dfb823c1ce3e3a18464043affde18.zip |
[SPARK-9460] Avoid byte array allocation in StringPrefixComparator.
As of today, StringPrefixComparator converts the long values back to byte arrays in order to compare them. This patch optimizes this to compare the longs directly, rather than turning the longs into byte arrays and comparing them byte by byte (unsigned).
This only works on little-endian architecture right now.
Author: Reynold Xin <rxin@databricks.com>
Closes #7765 from rxin/SPARK-9460 and squashes the following commits:
e4908cc [Reynold Xin] Stricter randomized tests.
4c8d094 [Reynold Xin] [SPARK-9460] Avoid byte array allocation in StringPrefixComparator.
Diffstat (limited to 'pylintrc')
0 files changed, 0 insertions, 0 deletions