• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lemire / JavaFastPFOR / 201
66%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2017 12:09AM UTC
Jobs 1
Files 37
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
201

Pull #39

travis-ci

web-flow
Make direct buffer allocation optional

This is a minor refactoring of all codecs that directly allocate Java `ByteBuffers`: instead of making a direct call to `ByteBuffer#allocate()`, the codec invokes a protected method `makeBuffer(size)`. This allows a user to subclass the codec and override the method to customize the buffer allocation.

In particular, this enables users to use heap-buffers and/or buffer pooling. The latter is essential for reducing memory churn.

In a JVM benchmark (not included) on some real-world data, this refactoring did not decrease performance. (Notice that dropping `final` from some classes does not stop the JVM from inlining, such as in [monomorphic callsites](https://shipilev.net/blog/2015/black-magic-method-dispatch/).)
Pull Request #39: Make direct buffer allocation optional

12 of 12 new or added lines in 5 files covered. (100.0%)

5893 of 8960 relevant lines covered (65.77%)

0.66 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
62
100.0
src/main/java/me/lemire/integercompression/differential/IntegratedBitPacking.java
Jobs
ID Job ID Ran Files Coverage
2 201.2 03 Apr 2017 12:09AM UTC 0
65.77
Travis Job 201.2
Source Files on build 201
  • Tree
  • List 0
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #201
  • Pull Request #39
  • PR Base - master (#200)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc