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

Qiskit / retworkx / 491
97%

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

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

Jobs
ID Job ID Ran Files Coverage
3 491.3 05 Jun 2020 04:53PM UTC 0
81.74
Travis Job 491.3
Source Files on build 491
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #491
  • a2248228 on github
  • Prev Build on master (#484)
  • Next Build on master (#497)
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