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

Qiskit / retworkx / 491 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 05 Jun 2020 04:53PM UTC
Files 3
Run time 1min
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

05 Jun 2020 04:50PM UTC coverage: 81.737%. Remained the same
491.3

push

travis-ci-com

web-flow
Switch to hashbrown hashmap implementation (#78)

The hashbrown library provides a drop-in replacement for the stdlib
HashMap implementation with improved performance. Since rust 1.36.0 the
stdlib implementation has been using the same algorithm as hasbrown
but hashbrown is still faster because it uses the AHash hashing
algorithm which is a tradeoff for speed vs hashing DOS resistance. Since
the use case for HashMaps in retworkx doesn't really need protection
against denial of service collisions picking performance makes sense
here. In the future if a use case arises we can always make the hashmap
lib configurable or add the use of the 'ahash-compile-time' feature which
increases the DOS-resistance of the algorithm.

The other potential speedup that hasbrown can provide in the future is
support for parallel iterators. Right now this commit doesn't use it
because adding and testing parallel iteration is a separate task, but
that can potentially provide a useful speedup for several functions
(including lexicographical topological sort) which rely on iterating
over hashmaps currently.

913 of 1117 relevant lines covered (81.74%)

1847.36 hits per line

Source Files on job 491.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 70
  • Travis Job 491.3
  • a2248228 on github
  • Prev Job for on master (#484.3)
  • Next Job for on master (#497.3)
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