spark-instrumented-optimizer/common
Armin 73d9067226 [SPARK-21967][CORE] org.apache.spark.unsafe.types.UTF8String#compareTo Should Compare 8 Bytes at a Time for Better Performance
## What changes were proposed in this pull request?

* Using 64 bit unsigned long comparison instead of unsigned int comparison in `org.apache.spark.unsafe.types.UTF8String#compareTo` for better performance.
* Making `IS_LITTLE_ENDIAN` a constant for correctness reasons (shouldn't use a non-constant in `compareTo` implementations and it def. is a constant per JVM)

## How was this patch tested?

Build passes and the functionality is widely covered by existing tests as far as I can see.

Author: Armin <me@obrown.io>

Closes #19180 from original-brownbear/SPARK-21967.
2017-09-16 09:18:13 +01:00
..
kvstore [SPARK-21970][CORE] Fix Redundant Throws Declarations in Java Codebase 2017-09-13 14:04:26 +01:00
network-common [SPARK-21970][CORE] Fix Redundant Throws Declarations in Java Codebase 2017-09-13 14:04:26 +01:00
network-shuffle [SPARK-21501] Change CacheLoader to limit entries based on memory footprint 2017-08-23 11:51:11 -05:00
network-yarn [SPARK-17321][YARN] Avoid writing shuffle metadata to disk if NM recovery is disabled 2017-08-31 09:26:20 +08:00
sketch [SPARK-21970][CORE] Fix Redundant Throws Declarations in Java Codebase 2017-09-13 14:04:26 +01:00
tags [SPARK-20453] Bump master branch version to 2.3.0-SNAPSHOT 2017-04-24 21:48:04 -07:00
unsafe [SPARK-21967][CORE] org.apache.spark.unsafe.types.UTF8String#compareTo Should Compare 8 Bytes at a Time for Better Performance 2017-09-16 09:18:13 +01:00