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

ben-manes / caffeine / 2506
100%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2019 07:11AM UTC
Jobs 1
Files 76
Run time 5s
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
2506

push

travis-ci

ben-manes
Improve countmin4 spread if hashCode is zero

When the hashCode is zero, then due to multiplicative spreads the array
indexes were also zero. Similarly the difference between positive and
negative numbers, which flip only the signum bit, had a higher chance
of collisions. Even with these caveats, the spreads were quite good and
the cache has other schemes to protect itself from HashDoS style of
attacks.

The improvement here is simply too easy to ignore for a nicer theoretical
advantage. By adding the seed, which differs per row, we avoid this eye
sore. The change in hit rates is noise (0.01-0.5 %, often better).

6125 of 6535 relevant lines covered (93.73%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2506.2 (GROUP=tests) 15 Dec 2019 07:11AM UTC 0
93.73
Travis Job 2506.2
Source Files on build 2506
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2506
  • 1319201a on github
  • Prev Build on master (#2505)
  • Next Build on master (#2509)
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

© 2026 Coveralls, Inc