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

Qiskit / rustworkx / 7988719542
97%
main: 94%

Build:
Build:
LAST BUILD BRANCH: ruff-format
DEFAULT BRANCH: main
Ran 21 Feb 2024 12:20PM UTC
Jobs 1
Files 96
Run time 8s
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

21 Feb 2024 12:05PM UTC coverage: 96.602% (+0.6%) from 95.986%
7988719542

push

github

web-flow
Improve performance of custom-iterator `__getitem__` (#1096) (#1100)

Flipping the order of `Slice` and `Int` in `SliceOrInt` so that `Int`
comes first means that the `FromPyObject` derivation will then try `Int`
first, which is the correct variant in like 99.9% of uses of the struct.
This has the impact of improving int `__getitem__` times in the custom
iterators by about 3x (from 205ns to 61ns on my machine), which has
knock-on effects for the implicit iterators Python defines for these
classes.

(cherry picked from commit d4f28e35f)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

16746 of 17335 relevant lines covered (96.6%)

1240766.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7988719542.1 21 Feb 2024 12:20PM UTC 96
96.6
GitHub Action Run
Source Files on build 7988719542
  • Tree
  • List 96
  • Changed 34
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d1f0a1ce on github
  • Prev Build on main (#7630142232)
  • Next Build on stable/0.14 (#8005870784)
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