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

micropython / micropython
93%
master: 98%

Build:
Build:
LAST BUILD BRANCH: javascript-asyncify
DEFAULT BRANCH: master
Repo Added 25 Feb 2015 08:06PM CUT
Files 157
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

LAST BUILD ON BRANCH hash-unary-op
branch: hash-unary-op
CHANGE BRANCH
x
Reset
  • hash-unary-op
  • __call__-inst-noheap
  • combine-load-store-attr
  • cross
  • docs-dev
  • emil_tests
  • esp-extra-scripts
  • esp32-idf41-cmake
  • fakenamedtuple
  • fix-object-new
  • iabdalkader-cc3k-update
  • master
  • parse-bytecode
  • pep-492
  • pep-492-v2
  • pic16bit-port
  • refs/tags/v1.14
  • refs/tags/v1.15
  • refs/tags/v1.16
  • threading
  • travis-clang
  • travis-esp8266
  • travis-stackless
  • travis-testing
  • unix-mp-readline-v2
  • v1.10
  • v1.11
  • v1.12
  • v1.13
  • v1.4
  • v1.4.1
  • v1.4.2
  • v1.4.3
  • v1.4.4
  • v1.4.5
  • v1.4.6
  • v1.5.1
  • v1.5.2
  • v1.6
  • v1.7
  • v1.8
  • v1.8.1
  • v1.8.2
  • v1.8.4
  • v1.8.5
  • v1.8.6
  • v1.8.7
  • v1.9
  • v1.9.1
  • v1.9.2
  • v1.9.3
  • v1.9.4

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

Relevant lines Covered
Build:
Build:
14462 RELEVANT LINES 13517 COVERED LINES
42290.97 HITS PER LINE
Source Files on hash-unary-op
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2312 hash-unary-op 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 th... push 11 May 2015 12:55PM CUT dpgeorge travis-ci pending completion  
See All Builds (12646)
  • Repo 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

© 2025 Coveralls, Inc