Skip to content
Permalink
Branch: master
Commits on Mar 13, 2019
  1. Improve ORC double and float performance with batch reads

    dain committed Jan 17, 2019
    Speedup:
    
    Benchmark                                  Speedup
    BenchmarkStreamReaders.readDoubleNoNull      3.93x
    BenchmarkStreamReaders.readDoubleWithNull    1.57x
    BenchmarkStreamReaders.readFloatNoNull       5.17x
    BenchmarkStreamReaders.readFloatWithNull     1.70x
    
    Before:
    
    Benchmark                                  Mode  Cnt  Score   Error  Units
    BenchmarkStreamReaders.readDoubleNoNull    avgt   60  0.228 ± 0.004   s/op
    BenchmarkStreamReaders.readDoubleWithNull  avgt   60  0.173 ± 0.002   s/op
    BenchmarkStreamReaders.readFloatNoNull     avgt   60  0.212 ± 0.003   s/op
    BenchmarkStreamReaders.readFloatWithNull   avgt   60  0.179 ± 0.003   s/op
    
    After:
    
    Benchmark                                  Mode  Cnt  Score   Error  Units
    BenchmarkStreamReaders.readDoubleNoNull    avgt   60  0.058 ± 0.001   s/op
    BenchmarkStreamReaders.readDoubleWithNull  avgt   60  0.110 ± 0.002   s/op
    BenchmarkStreamReaders.readFloatNoNull     avgt   60  0.041 ± 0.001   s/op
    BenchmarkStreamReaders.readFloatWithNull   avgt   60  0.105 ± 0.001   s/op
  2. Fix typo in comment

    dain committed Mar 12, 2019
  3. Replace assert false with fail

    dain committed Mar 12, 2019
  4. Remove dead code

    dain committed Mar 12, 2019
  5. Fix bug in decimal statistics comparison

    dain committed Mar 12, 2019
    BigDecimals are only equal if they are equal in both value and scale, so that 2.0 is not equal to 2.00
  6. Remove unnecessary boxing

    dain committed Mar 12, 2019
  7. Remove unused declaration

    dain committed Mar 12, 2019
  8. Add missing override annotation

    dain committed Mar 12, 2019
  9. Remove unused throws clause

    dain committed Mar 12, 2019
  10. Clean up access modifiers

    dain committed Mar 12, 2019
  11. Use isEmpty instead of size == 0

    dain committed Mar 12, 2019
  12. Make fields final

    dain committed Mar 12, 2019
  13. Remove redundant subpressions

    dain committed Mar 12, 2019
You can’t perform that action at this time.