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

ben-manes / caffeine / 2506 / 2
100%
master: 100%

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

15 Dec 2019 05:38AM UTC coverage: 93.726% (+0.3%) from 93.42%
GROUP=tests

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

Source Files on job 2506.2 (GROUP=tests)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2417
  • Travis Job 2506.2
  • 1319201a on github
  • Prev Job for GROUP=tests on master (#2505.2)
  • Next Job for GROUP=tests on master (#2509.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc