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

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

Build:
Build:
LAST BUILD BRANCH: jawayria/github-ci
DEFAULT BRANCH: master
Ran 27 Jan 2017 04:26PM 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 04:15PM UTC coverage: 96.701%. Remained the same
748.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 748.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 748
  • Travis Job 748.1
  • eb86f0d8 on github
  • Prev Job for on ormsbee/reapply_optimizations (#746.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