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

edx / opaque-keys / 746 / 1
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: jawayria/github-ci
DEFAULT BRANCH: master
Ran 27 Jan 2017 04:21PM UTC
Files 24
Run time 1s
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

27 Jan 2017 03:51PM UTC coverage: 96.701%. Remained the same
746.1

push

travis-ci

ormsbee
Optimize equality, hashing, serialization.

* Cache from_string() inputs so we create fewer OpaqueKeys.
* Locally cache the hash and serialized form on the individual keys.
* Use object identity and hash values to short circuit equality checks
  for common patterns.

These optimizations were first introduced in 0.3.2, but had to be
rolled back because doing direct assignment to an OpaqueKey's _unicode
attribute from the serialized string passed to OpaqueKey.from_string
caused issues with trailing newlines.

2140 of 2213 relevant lines covered (96.7%)

0.97 hits per line

Source Files on job 746.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 746
  • Travis Job 746.1
  • fde93c09 on github
  • Prev Job for on ormsbee/reapply_optimizations (#744.1)
  • Next Job for on ormsbee/reapply_optimizations (#748.1)
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