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

micropython / micropython / 2312
93%
master: 98%

Build:
Build:
LAST BUILD BRANCH: javascript-asyncify
DEFAULT BRANCH: master
Ran 11 May 2015 12:55PM UTC
Jobs 1
Files 158
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

pending completion
2312

push

travis-ci

dpgeorge
py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.

Hashing is now done using mp_unary_op function with MP_UNARY_OP_HASH as
the operator argument.  Hashing for int, str and bytes still go via
fast-path in mp_unary_op since they are the most common objects which
need to be hashed.

This lead to quite a bit of code cleanup, and should be more efficient
if anything.  It saves 176 bytes code space on Thumb2, and 360 bytes on
x86.

The only loss is that the error message "unhashable type" is now the
more generic "unsupported type for __hash__".

28 of 28 new or added lines in 9 files covered. (100.0%)

13517 of 14462 relevant lines covered (93.47%)

42290.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
py/obj.c
1
100.0
py/objbool.c
1
100.0
py/objtuple.c
Jobs
ID Job ID Ran Files Coverage
1 2312.1 11 May 2015 12:55PM UTC 0
93.47
Travis Job 2312.1
Source Files on build 2312
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2312
  • c9ae8884 on github
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