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

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

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

pending completion
746

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

Jobs
ID Job ID Ran Files Coverage
1 746.1 27 Jan 2017 04:21PM UTC 0
96.7
Travis Job 746.1
Source Files on build 746
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #746
  • fde93c09 on github
  • Prev Build on ormsbee/reapply_optimizations (#744)
  • Next Build on ormsbee/reapply_optimizations (#748)
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

© 2025 Coveralls, Inc