Skip to content

fix: TypeError in HexBytes.__new__ if called from subclass - #10

Merged
BobTheBuidler merged 19 commits into
masterfrom
helper
Sep 30, 2025
Merged

BobTheBuidler merged 19 commits into
masterfrom
helper

Conversation

@BobTheBuidler

@BobTheBuidler BobTheBuidler commented Sep 30, 2025 •

Copy link
Copy Markdown
Owner

What was wrong?

There was a compiler bug in mypyc which I've created a fix for python/mypy#19957

This PR implements a workaround until that's merged and released

@codspeed

codspeed Bot commented Sep 30, 2025 •

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #10 will improve performances by ×2.9

Comparing helper (f6b04ed) with master (a5cee88)1

Summary

⚡ 29 improvements
✅ 590 untouched

Benchmarks breakdown

Benchmark BASE HEAD Change
⚡ test_faster_hexbytes_repr[0-9] 266.3 µs 98.6 µs ×2.7
⚡ test_faster_hexbytes_repr[4-byte pattern] 691.9 µs 245.7 µs ×2.8
⚡ test_faster_hexbytes_repr[all byte values] 692.2 µs 245.7 µs ×2.8
⚡ test_faster_hexbytes_repr[alternating 0x00/0xff] 360.1 µs 130.7 µs ×2.8
⚡ test_faster_hexbytes_repr[alternating 0xaa/0x55] 360.2 µs 130.7 µs ×2.8
⚡ test_faster_hexbytes_repr[ascii sentence] 323.7 µs 118.4 µs ×2.7
⚡ test_faster_hexbytes_repr[b''] 213.1 µs 80.8 µs ×2.6
⚡ test_faster_hexbytes_repr[b'\\x00'*32] 304.4 µs 111.6 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\x00\\xff\\x00\\xff'] 256 µs 95.1 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\x01'*100] 421.9 µs 152.3 µs ×2.8
⚡ test_faster_hexbytes_repr[b'\\x01'*2048] 3.8 ms 1.3 ms ×2.9
⚡ test_faster_hexbytes_repr[b'\\x01\\x02\\x03'] 254.6 µs 94.5 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50'] 257.9 µs 95.7 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\x7f'*8] 263 µs 97.4 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\x80'*8] 262.8 µs 97.5 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\xde\\xad\\xbe\\xef'] 256.3 µs 95.1 µs ×2.7
⚡ test_faster_hexbytes_repr[b'\\xff'*64] 360.1 µs 130.7 µs ×2.8
⚡ test_faster_hexbytes_repr[b'a'*1024] 2,056.8 µs 720.6 µs ×2.9
⚡ test_faster_hexbytes_repr[b'abc'] 254.6 µs 94.5 µs ×2.7
⚡ test_faster_hexbytes_repr[long alternating] 2,056.9 µs 719.9 µs ×2.9
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Footnotes

  1. No successful run was found on master (5ef715f) during the generation of this report, so a5cee88 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@BobTheBuidler BobTheBuidler changed the title Update main.py fix: TypeError in HexBytes.__new__ if called from subclass Sep 30, 2025
@BobTheBuidler
BobTheBuidler merged commit 14b36ce into master Sep 30, 2025
47 of 48 checks passed
@BobTheBuidler
BobTheBuidler deleted the helper branch September 30, 2025 19:21
@github-actions

Copy link
Copy Markdown

Pytest Benchmark Diff

faster_hexbytes._utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexstr_to_bytes[''] 0.000018020160030044067 0.000011061222453708076 38.62% 62.91% 1.63x ✅
hexstr_to_bytes['0x'] 0.00002243925689924098 0.00001088753267315657 51.48% 106.10% 2.06x ✅
hexstr_to_bytes['0x'+'0'*128] 0.00003435991511046059 0.00002120925427694761 38.27% 62.00% 1.62x ✅
hexstr_to_bytes['0x'+'00'*64] 0.0000341188170346064 0.00002153585528695276 36.88% 58.43% 1.58x ✅
hexstr_to_bytes['0x'+'00ff'*16] 0.00003116896293038922 0.000018522761283220955 40.57% 68.27% 1.68x ✅
hexstr_to_bytes['0x'+'0123456789abcdef'*8] 0.00003478070329732965 0.00002136986460916708 38.56% 62.76% 1.63x ✅
hexstr_to_bytes['0x'+'1'*64] 0.000031058352431193915 0.000018509014687622583 40.41% 67.80% 1.68x ✅
hexstr_to_bytes['0x'+'1234567890abcdef'*8] 0.00003450982771292728 0.000021379778020167104 38.05% 61.41% 1.61x ✅
hexstr_to_bytes['0x'+'a'*128] 0.00003423112981113439 0.000021389328822845883 37.51% 60.04% 1.60x ✅
hexstr_to_bytes['0x'+'a1b2c3d4'*8] 0.00003141143598602829 0.00001853773975299662 40.98% 69.45% 1.69x ✅
hexstr_to_bytes['0x'+'b'*2048] 0.00013743779125938724 0.00011901969190315464 13.40% 15.47% 1.15x ✅
hexstr_to_bytes['0x'+'badc0ffee0ddf00d'*4] 0.00003121021430730964 0.000018363199493918445 41.16% 69.96% 1.70x ✅
hexstr_to_bytes['0x'+'beef'*16] 0.00003123953305951364 0.000018694612685120426 40.16% 67.10% 1.67x ✅
hexstr_to_bytes['0x'+'c'*1024] 0.00008998573236534116 0.00007207938050670241 19.90% 24.84% 1.25x ✅
hexstr_to_bytes['0x'+'cafebabe'*8] 0.00003121948289316267 0.000018607105228800388 40.40% 67.78% 1.68x ✅
hexstr_to_bytes['0x'+'d'*512] 0.0000571232360862937 0.000041011480105234 28.21% 39.29% 1.39x ✅
hexstr_to_bytes['0x'+'dead'*16] 0.00003108098552306237 0.000018483569481725762 40.53% 68.15% 1.68x ✅
hexstr_to_bytes['0x'+'e'*256] 0.00004467476258350581 0.00002764187551479525 38.13% 61.62% 1.62x ✅
hexstr_to_bytes['0x'+'f'*128] 0.00003443393822474473 0.00002294086551054175 33.38% 50.10% 1.50x ✅
hexstr_to_bytes['0x'+'f'*64] 0.00003109138794236547 0.000018395479890131372 40.83% 69.02% 1.69x ✅
hexstr_to_bytes['0x'+'facefeed'*8] 0.00003113946942067869 0.000018179939494510593 41.62% 71.28% 1.71x ✅
hexstr_to_bytes['0x'+'ff'*32] 0.00003091676746645492 0.000018778622405242585 39.26% 64.64% 1.65x ✅
hexstr_to_bytes['0x'+'ff00'*16] 0.00003142868168561952 0.000018526461973838048 41.05% 69.64% 1.70x ✅
hexstr_to_bytes['0x0'] 0.00003104457268635288 0.000018557316582368436 40.22% 67.29% 1.67x ✅
hexstr_to_bytes['0x1'] 0.00003109107740688216 0.000018521587199658507 40.43% 67.86% 1.68x ✅
hexstr_to_bytes['0x1234'] 0.000027753127429912596 0.000016316123322748665 41.21% 70.10% 1.70x ✅
hexstr_to_bytes['0xabcdef'] 0.000028871120338798783 0.000016155395274868413 44.04% 78.71% 1.79x ✅
hexstr_to_bytes['0xCAFEBABE'] 0.000028553317868244217 0.00001625248828812207 43.08% 75.69% 1.76x ✅
hexstr_to_bytes['0xdeadbeef'] 0.000028585617388219587 0.00001643055112539831 42.52% 73.98% 1.74x ✅
hexstr_to_bytes['deadbeef'] 0.000021921753237250685 0.00001416315652317278 35.39% 54.78% 1.55x ✅
to_bytes[''] 0.000027915321630135807 0.000012052685090340803 56.82% 131.61% 2.32x ✅
to_bytes['0x'] 0.00003393878955450662 0.000012297258638810807 63.77% 175.99% 2.76x ✅
to_bytes['0x'+'00'*64] 0.000046499638410322216 0.000023809556662849546 48.80% 95.30% 1.95x ✅
to_bytes['0x'+'a'*128] 0.00004667033305202704 0.000022842844486239685 51.05% 104.31% 2.04x ✅
to_bytes['0x'+'ff'*32] 0.0000433842762096963 0.000019676923092855124 54.65% 120.48% 2.20x ✅
to_bytes['0x1234'] 0.000040675043009232934 0.000017644949566791807 56.62% 130.52% 2.31x ✅
to_bytes['0xabcdef'] 0.000040512619616488917 0.000017613056040813024 56.52% 130.01% 2.30x ✅
to_bytes['0xCAFEBABE'] 0.00004088701193810475 0.000017650159912354607 56.83% 131.65% 2.32x ✅
to_bytes['0xdeadbeef'] 0.00004136526947322931 0.00001774931390462614 57.09% 133.05% 2.33x ✅
to_bytes['abc'] 0.00003618906437563889 0.00001990890654046481 44.99% 81.77% 1.82x ✅
to_bytes['deadbeef'] 0.00003216883946624876 0.00001501300903822528 53.33% 114.27% 2.14x ✅
to_bytes[0-9] 0.000006379510029358217 0.0000035906887507300342 43.72% 77.67% 1.78x ✅
to_bytes[0] 0.00007395474580000598 0.00003118803436625036 57.83% 137.13% 2.37x ✅
to_bytes[123456] 0.0000793729346989968 0.0000361965536003503 54.40% 119.28% 2.19x ✅
to_bytes[2**16] 0.00007926532240433162 0.000036743133554285866 53.65% 115.73% 2.16x ✅
to_bytes[2**256-1] 0.00008244297939471856 0.00004043397664785138 50.96% 103.90% 2.04x ✅
to_bytes[2**32] 0.00008046171315429716 0.000038040306920696745 52.72% 111.52% 2.12x ✅
to_bytes[2**64] 0.0000806333190751568 0.00004030473008108634 50.01% 100.06% 2.00x ✅
to_bytes[2**8] 0.00007843929203121402 0.00003425617727683478 56.33% 128.98% 2.29x ✅
to_bytes[4-byte pattern] 0.000006057358139049908 0.0000036596795172198597 39.58% 65.52% 1.66x ✅
to_bytes[all byte values] 0.000006223505346388947 0.0000037141676317612475 40.32% 67.56% 1.68x ✅
to_bytes[alternating 0x00/0xff] 0.0000063247791360225 0.0000035989817493893585 43.10% 75.74% 1.76x ✅
to_bytes[alternating 0xaa/0x55] 0.000005702417348145543 0.000003712881282716205 34.89% 53.58% 1.54x ✅
to_bytes[ascii sentence] 0.000006126883163059475 0.0000037107678451369934 39.43% 65.11% 1.65x ✅
to_bytes[b''] 0.0000060190359435863255 0.0000035284203433315263 41.38% 70.59% 1.71x ✅
to_bytes[b'\\x00'*32] 0.000006098688505489821 0.0000036041534324831055 40.90% 69.21% 1.69x ✅
to_bytes[b'\\x00\\xff\\x00\\xff'] 0.000005846933048069615 0.000003711317019019901 36.53% 57.54% 1.58x ✅
to_bytes[b'\\x01'*100] 0.000006491280500308713 0.000003710246570813835 42.84% 74.96% 1.75x ✅
to_bytes[b'\\x01'*2048] 0.000006271983026049272 0.0000036576173254887172 41.68% 71.48% 1.71x ✅
to_bytes[b'\\x01\\x02\\x03'] 0.00000582968949611417 0.000003565076009639794 38.85% 63.52% 1.64x ✅
to_bytes[b'\\x10\\x20\\x30\\x40\\x50'] 0.000006351301383358593 0.0000035395309919050806 44.27% 79.44% 1.79x ✅
to_bytes[b'\\x7f'*8] 0.000006354249329366367 0.0000037110346631808544 41.60% 71.23% 1.71x ✅
to_bytes[b'\\x80'*8] 0.000006268155765094123 0.0000036947530938066754 41.06% 69.65% 1.70x ✅
to_bytes[b'\\xde\\xad\\xbe\\xef'] 0.000006047468150239075 0.000003653238373484156 39.59% 65.54% 1.66x ✅
to_bytes[b'\\xff'*64] 0.000006108718921422785 0.00000362073727934753 40.73% 68.71% 1.69x ✅
to_bytes[b'a'*1024] 0.000006123878493540622 0.000003618935840452328 40.90% 69.22% 1.69x ✅
to_bytes[b'abc'] 0.000005690684573647296 0.000003675745182974284 35.41% 54.82% 1.55x ✅
to_bytes[bytearray(0-9)] 0.000027979372924956873 0.000014113452872612756 49.56% 98.25% 1.98x ✅
to_bytes[bytearray(4-byte pattern)] 0.000028826806188338423 0.00001425122246344186 50.56% 102.28% 2.02x ✅
to_bytes[bytearray(all byte values)] 0.00002876790939419921 0.000014096507742985157 51.00% 104.08% 2.04x ✅
to_bytes[bytearray(alternating 0x00/0xff)] 0.000027638810057292124 0.000014010222328801085 49.31% 97.28% 1.97x ✅
to_bytes[bytearray(alternating 0xaa/0x55)] 0.00002787972610837106 0.00001396652822831994 49.90% 99.62% 2.00x ✅
to_bytes[bytearray(ascii sentence)] 0.000028001606609006192 0.000014034921674222724 49.88% 99.51% 2.00x ✅
to_bytes[bytearray(b'')] 0.000025929882757566452 0.000012407765633904044 52.15% 108.98% 2.09x ✅
to_bytes[bytearray(b'\\x00'*32)] 0.000027376155629102436 0.000013880861818537344 49.30% 97.22% 1.97x ✅
to_bytes[bytearray(b'\\x00\\xff\\x00\\xff')] 0.000027910328911555874 0.000014158525135301707 49.27% 97.13% 1.97x ✅
to_bytes[bytearray(b'\\x01'*100)] 0.000028234611614623487 0.000014226273941935795 49.61% 98.47% 1.98x ✅
to_bytes[bytearray(b'\\x01'*2048)] 0.000035474107261425185 0.00001923587149489337 45.77% 84.42% 1.84x ✅
to_bytes[bytearray(b'\\x01\\x02\\x03')] 0.00002768330624678407 0.000014019763704148656 49.36% 97.46% 1.97x ✅
to_bytes[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.000027961613369503218 0.000013902075595762485 50.28% 101.13% 2.01x ✅
to_bytes[bytearray(b'\\x7f'*8)] 0.000028388198472874877 0.000014129183539821853 50.23% 100.92% 2.01x ✅
to_bytes[bytearray(b'\\x80'*8)] 0.000028092469624076794 0.000014072102628891637 49.91% 99.63% 2.00x ✅
to_bytes[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.00002773057563496769 0.000013940391855219045 49.73% 98.92% 1.99x ✅
to_bytes[bytearray(b'\\xff'*64)] 0.00002758986110527695 0.000013984443095007625 49.31% 97.29% 1.97x ✅
to_bytes[bytearray(b'a'*1024)] 0.00003505363476197841 0.000018666104330002493 46.75% 87.79% 1.88x ✅
to_bytes[bytearray(b'abc')] 0.00002796453364949731 0.000014103620048954823 49.57% 98.28% 1.98x ✅
to_bytes[bytearray(long alternating)] 0.00003465037309475883 0.000018457800473230966 46.73% 87.73% 1.88x ✅
to_bytes[bytearray(mixed pattern)] 0.000028167602526971543 0.00001412754597857086 49.84% 99.38% 1.99x ✅
to_bytes[bytearray(multiples of 0x10)] 0.000028004536214223734 0.000013899528822823698 50.37% 101.48% 2.01x ✅
to_bytes[bytearray(palindrome ascii)] 0.000028165995799738003 0.000013956540234434273 50.45% 101.81% 2.02x ✅
to_bytes[bytearray(palindrome numeric)] 0.00002826496816636294 0.000013993161371767394 50.49% 101.99% 2.02x ✅
to_bytes[bytearray(palindrome)] 0.00002823692448666355 0.000014073810392221823 50.16% 100.63% 2.01x ✅
to_bytes[bytearray(repeated 0-9)] 0.000028147504678752954 0.00001432048140049132 49.12% 96.55% 1.97x ✅
to_bytes[bytearray(single 0xff)] 0.000027953476799790003 0.000013850730138906967 50.45% 101.82% 2.02x ✅
to_bytes[bytearray(single null byte)] 0.000027606228720704234 0.000013742541282661996 50.22% 100.88% 2.01x ✅
to_bytes[bytearray(two patterns)] 0.00002798300563166513 0.000013913473708804888 50.28% 101.12% 2.01x ✅
to_bytes[False] 0.000021780184275209232 0.0000041829795977877805 80.79% 420.69% 5.21x ✅
to_bytes[long alternating] 0.000005992114609210218 0.0000034700187295003118 42.09% 72.68% 1.73x ✅
to_bytes[memoryview(0-9)] 0.000042648824384589356 0.00001726735980924261 59.51% 146.99% 2.47x ✅
to_bytes[memoryview(4-byte pattern)] 0.000041468526290455725 0.000017881742094733344 56.88% 131.90% 2.32x ✅
to_bytes[memoryview(all byte values)] 0.0000425490800034356 0.000017812383004741412 58.14% 138.87% 2.39x ✅
to_bytes[memoryview(alternating 0x00/0xff)] 0.000041718584305136904 0.00001665461773971339 60.08% 150.49% 2.50x ✅
to_bytes[memoryview(alternating 0xaa/0x55)] 0.0000417749504401139 0.00001687507939189519 59.60% 147.55% 2.48x ✅
to_bytes[memoryview(ascii sentence)] 0.000041968352022434296 0.000017165054127583586 59.10% 144.50% 2.44x ✅
to_bytes[memoryview(b'')] 0.00004032373965716099 0.000015202486548516296 62.30% 165.24% 2.65x ✅
to_bytes[memoryview(b'\\x00'*32)] 0.000041519741773690154 0.00001698040386322566 59.10% 144.52% 2.45x ✅
to_bytes[memoryview(b'\\x00\\xff\\x00\\xff')] 0.000041081423253243396 0.000017150624929426533 58.25% 139.53% 2.40x ✅
to_bytes[memoryview(b'\\x01'*100)] 0.00004114084983616478 0.00001772025713991552 56.93% 132.17% 2.32x ✅
to_bytes[memoryview(b'\\x01'*2048)] 0.00004994978947379996 0.000023936235614919813 52.08% 108.68% 2.09x ✅
to_bytes[memoryview(b'\\x01\\x02\\x03')] 0.00004196285054923654 0.00001721507058753824 58.98% 143.76% 2.44x ✅
to_bytes[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00004149160644674733 0.000016823171576649692 59.45% 146.63% 2.47x ✅
to_bytes[memoryview(b'\\x7f'*8)] 0.0000414998588829395 0.000017056568689283176 58.90% 143.31% 2.43x ✅
to_bytes[memoryview(b'\\x80'*8)] 0.00004138512529478327 0.0000170721094185278 58.75% 142.41% 2.42x ✅
to_bytes[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.000041154167424955064 0.00001790839378459202 56.48% 129.80% 2.30x ✅
to_bytes[memoryview(b'\\xff'*64)] 0.00004192253546569836 0.000016925904366904845 59.63% 147.68% 2.48x ✅
to_bytes[memoryview(b'a'*1024)] 0.00004977671871382388 0.000023462790636019138 52.86% 112.15% 2.12x ✅
to_bytes[memoryview(b'abc')] 0.00004214152351287355 0.000017226409939134275 59.12% 144.63% 2.45x ✅
to_bytes[memoryview(long alternating)] 0.000049370801055872923 0.000024087280490514812 51.21% 104.97% 2.05x ✅
to_bytes[memoryview(mixed pattern)] 0.00004235805835611549 0.000017902396821800102 57.74% 136.61% 2.37x ✅
to_bytes[memoryview(multiples of 0x10)] 0.000042255009181642806 0.000017075629487296326 59.59% 147.46% 2.47x ✅
to_bytes[memoryview(palindrome ascii)] 0.0000420564093014986 0.000017016858942929797 59.54% 147.15% 2.47x ✅
to_bytes[memoryview(palindrome numeric)] 0.000042217288530887075 0.00001716103891863082 59.35% 146.01% 2.46x ✅
to_bytes[memoryview(palindrome)] 0.00004126949605452179 0.000017018783720316392 58.76% 142.49% 2.42x ✅
to_bytes[memoryview(repeated 0-9)] 0.00004181833851373264 0.000017589952107329125 57.94% 137.74% 2.38x ✅
to_bytes[memoryview(single 0xff)] 0.000042275323156614475 0.000017444745292105806 58.74% 142.34% 2.42x ✅
to_bytes[memoryview(single null byte)] 0.00004218769876569699 0.000017325221220541053 58.93% 143.50% 2.44x ✅
to_bytes[memoryview(two patterns)] 0.00004165290996508185 0.000017137895731660213 58.86% 143.05% 2.43x ✅
to_bytes[mixed pattern] 0.000006269480099550003 0.000003697146092230599 41.03% 69.58% 1.70x ✅
to_bytes[multiples of 0x10] 0.000005863595255057444 0.0000037062335094331397 36.79% 58.21% 1.58x ✅
to_bytes[palindrome ascii] 0.000006061156675045498 0.000003627339795689479 40.15% 67.10% 1.67x ✅
to_bytes[palindrome numeric] 0.0000062722308246206836 0.000003564225792683162 43.17% 75.98% 1.76x ✅
to_bytes[palindrome] 0.000006443633580247498 0.0000036191717053303638 43.83% 78.04% 1.78x ✅
to_bytes[repeated 0-9] 0.000006242222385998475 0.000003710900824432422 40.55% 68.21% 1.68x ✅
to_bytes[single 0xff] 0.000006166045823851317 0.000003594366827009028 41.71% 71.55% 1.72x ✅
to_bytes[single null byte] 0.0000061625378549077036 0.00000364875711548836 40.79% 68.89% 1.69x ✅
to_bytes[True] 0.0000200798830437499 0.000004248508818225489 78.84% 372.63% 4.73x ✅
to_bytes[two patterns] 0.000006306421557667387 0.0000038035414220101125 39.69% 65.80% 1.66x ✅

faster_hexbytes.main - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
hexbytes_getitem_index[-1-0-9] 0.00002492055231033532 0.00002339705479380712 6.11% 6.51% 1.07x ✅
hexbytes_getitem_index[-1-4-byte pattern] 0.00002481155226548837 0.0000234665180856163 5.42% 5.73% 1.06x ✅
hexbytes_getitem_index[-1-all byte values] 0.000024823758423052225 0.00002341741724313493 5.67% 6.01% 1.06x ✅
hexbytes_getitem_index[-1-alternating 0x00/0xff] 0.000024887991134858946 0.000023404599576359747 5.96% 6.34% 1.06x ✅
hexbytes_getitem_index[-1-alternating 0xaa/0x55] 0.00002488564295049406 0.000023427045452859105 5.86% 6.23% 1.06x ✅
hexbytes_getitem_index[-1-ascii sentence] 0.00002488223002750207 0.000023493347063128606 5.58% 5.91% 1.06x ✅
hexbytes_getitem_index[-1-b'\\x00'*32] 0.000025059788253138433 0.00002366572751362596 5.56% 5.89% 1.06x ✅
hexbytes_getitem_index[-1-b'\\x00\\xff\\x00\\xff'] 0.00002474652031436408 0.000023564238366394186 4.78% 5.02% 1.05x ✅
hexbytes_getitem_index[-1-b'\\x01'*100] 0.0000249488805851466 0.0000235389922738872 5.65% 5.99% 1.06x ✅
hexbytes_getitem_index[-1-b'\\x01'*2048] 0.00002488105654155657 0.000023467444049323998 5.68% 6.02% 1.06x ✅
hexbytes_getitem_index[-1-b'\\x01\\x02\\x03'] 0.000024860119922759768 0.000023521378683041 5.39% 5.69% 1.06x ✅
hexbytes_getitem_index[-1-b'\\x10\\x20\\x30\\x40\\x50'] 0.000024583723683092024 0.000023658509105485592 3.76% 3.91% 1.04x ✅
hexbytes_getitem_index[-1-b'\\x7f'*8] 0.000024803572392963393 0.00002373065491375189 4.33% 4.52% 1.05x ✅
hexbytes_getitem_index[-1-b'\\x80'*8] 0.00002496045771436132 0.00002372579229368194 4.95% 5.20% 1.05x ✅
hexbytes_getitem_index[-1-b'\\xde\\xad\\xbe\\xef'] 0.000024782444255872162 0.00002356304786716379 4.92% 5.18% 1.05x ✅
hexbytes_getitem_index[-1-b'\\xff'*64] 0.00002494565030147463 0.000023491068070472574 5.83% 6.19% 1.06x ✅
hexbytes_getitem_index[-1-b'a'*1024] 0.00002497085808139048 0.00002350596772040373 5.87% 6.23% 1.06x ✅
hexbytes_getitem_index[-1-b'abc'] 0.00002497324662701654 0.000023456198903826027 6.07% 6.47% 1.06x ✅
hexbytes_getitem_index[-1-long alternating] 0.00002479263871011434 0.00002348464187295206 5.28% 5.57% 1.06x ✅
hexbytes_getitem_index[-1-mixed pattern] 0.00002471948429039328 0.00002350981406761827 4.89% 5.15% 1.05x ✅
hexbytes_getitem_index[-1-multiples of 0x10] 0.000024806185832966795 0.000023413766157483814 5.61% 5.95% 1.06x ✅
hexbytes_getitem_index[-1-palindrome ascii] 0.000024768209174372702 0.000023503926253083095 5.10% 5.38% 1.05x ✅
hexbytes_getitem_index[-1-palindrome numeric] 0.000024705629100703475 0.00002348776711259785 4.93% 5.19% 1.05x ✅
hexbytes_getitem_index[-1-palindrome] 0.00002482228641982801 0.00002373433913147522 4.38% 4.58% 1.05x ✅
hexbytes_getitem_index[-1-repeated 0-9] 0.00002486541962180738 0.000023461921759569135 5.64% 5.98% 1.06x ✅
hexbytes_getitem_index[-1-two patterns] 0.000025053801074293897 0.000023676952362152927 5.50% 5.82% 1.06x ✅
hexbytes_getitem_index[0-0-9] 0.00002374816672852354 0.0000222472617329141 6.32% 6.75% 1.07x ✅
hexbytes_getitem_index[0-4-byte pattern] 0.000024048833025244285 0.00002225318172992115 7.47% 8.07% 1.08x ✅
hexbytes_getitem_index[0-all byte values] 0.00002369842745522532 0.00002223472421029953 6.18% 6.58% 1.07x ✅
hexbytes_getitem_index[0-alternating 0x00/0xff] 0.000023806244858722618 0.000022268420604065625 6.46% 6.91% 1.07x ✅
hexbytes_getitem_index[0-alternating 0xaa/0x55] 0.00002376896698490256 0.000022209229422923947 6.56% 7.02% 1.07x ✅
hexbytes_getitem_index[0-ascii sentence] 0.000023662211406927532 0.00002217865553040596 6.27% 6.69% 1.07x ✅
hexbytes_getitem_index[0-b'\\x00'*32] 0.000023894380391163167 0.000022730037283189283 4.87% 5.12% 1.05x ✅
hexbytes_getitem_index[0-b'\\x00\\xff\\x00\\xff'] 0.000023663135721864727 0.000022223331283677466 6.08% 6.48% 1.06x ✅
hexbytes_getitem_index[0-b'\\x01'*100] 0.000023892338069290608 0.000022163668133958144 7.24% 7.80% 1.08x ✅
hexbytes_getitem_index[0-b'\\x01'*2048] 0.000023997036333159582 0.000022060376938414976 8.07% 8.78% 1.09x ✅
hexbytes_getitem_index[0-b'\\x01\\x02\\x03'] 0.00002369420015901288 0.000022450545976618896 5.25% 5.54% 1.06x ✅
hexbytes_getitem_index[0-b'\\x10\\x20\\x30\\x40\\x50'] 0.000023510228187033227 0.000022356881344293117 4.91% 5.16% 1.05x ✅
hexbytes_getitem_index[0-b'\\x7f'*8] 0.000023838919483976688 0.00002208947246825502 7.34% 7.92% 1.08x ✅
hexbytes_getitem_index[0-b'\\x80'*8] 0.00002374577362896674 0.000022174911979313026 6.62% 7.08% 1.07x ✅
hexbytes_getitem_index[0-b'\\xde\\xad\\xbe\\xef'] 0.000023825315638771762 0.000022240334052895077 6.65% 7.13% 1.07x ✅
hexbytes_getitem_index[0-b'\\xff'*64] 0.000023738612612940298 0.000022351308836856892 5.84% 6.21% 1.06x ✅
hexbytes_getitem_index[0-b'a'*1024] 0.00002371234496177969 0.000022327381448997187 5.84% 6.20% 1.06x ✅
hexbytes_getitem_index[0-b'abc'] 0.00002373958517805671 0.000022480143689157535 5.31% 5.60% 1.06x ✅
hexbytes_getitem_index[0-long alternating] 0.00002383373929201735 0.00002230902493766377 6.40% 6.83% 1.07x ✅
hexbytes_getitem_index[0-mixed pattern] 0.00002372249646287711 0.000022179217104625868 6.51% 6.96% 1.07x ✅
hexbytes_getitem_index[0-multiples of 0x10] 0.0000237862207352772 0.00002204599538239925 7.32% 7.89% 1.08x ✅
hexbytes_getitem_index[0-palindrome ascii] 0.000023834477001991406 0.000022228677938270742 6.74% 7.22% 1.07x ✅
hexbytes_getitem_index[0-palindrome numeric] 0.000023734489716484212 0.000022120782535351156 6.80% 7.29% 1.07x ✅
hexbytes_getitem_index[0-palindrome] 0.000023742104137197974 0.000022175334907045053 6.60% 7.07% 1.07x ✅
hexbytes_getitem_index[0-repeated 0-9] 0.000023771900461161625 0.000022103994969416226 7.02% 7.55% 1.08x ✅
hexbytes_getitem_index[0-single 0xff] 0.000023797408212436014 0.000026499101948863653 -11.35% -10.20% 0.90x ❌
hexbytes_getitem_index[0-single null byte] 0.000023797075035860273 0.000022255261593977226 6.48% 6.93% 1.07x ✅
hexbytes_getitem_index[0-two patterns] 0.00002375561815090038 0.00002220777386226906 6.52% 6.97% 1.07x ✅
hexbytes_getitem_index[1-0-9] 0.000023748598614104077 0.000022428217712503112 5.56% 5.89% 1.06x ✅
hexbytes_getitem_index[1-4-byte pattern] 0.000023924715098389906 0.000022547803708645893 5.76% 6.11% 1.06x ✅
hexbytes_getitem_index[1-all byte values] 0.000023879347414734326 0.00002244890356587825 5.99% 6.37% 1.06x ✅
hexbytes_getitem_index[1-alternating 0x00/0xff] 0.000023802533790768714 0.000022391409438532398 5.93% 6.30% 1.06x ✅
hexbytes_getitem_index[1-alternating 0xaa/0x55] 0.00002378219801503926 0.000022439792090037762 5.64% 5.98% 1.06x ✅
hexbytes_getitem_index[1-ascii sentence] 0.000023632881562967204 0.00002263498210080195 4.22% 4.41% 1.04x ✅
hexbytes_getitem_index[1-b'\\x00'*32] 0.000023608659603536234 0.000022139344810104297 6.22% 6.64% 1.07x ✅
hexbytes_getitem_index[1-b'\\x00\\xff\\x00\\xff'] 0.000023705506953645476 0.000022119431330566004 6.69% 7.17% 1.07x ✅
hexbytes_getitem_index[1-b'\\x01'*100] 0.00002386178603017334 0.00002239123048853114 6.16% 6.57% 1.07x ✅
hexbytes_getitem_index[1-b'\\x01'*2048] 0.000023808063344008956 0.000022538654184613327 5.33% 5.63% 1.06x ✅
hexbytes_getitem_index[1-b'\\x01\\x02\\x03'] 0.00002435318383402316 0.00002209682188346081 9.27% 10.21% 1.10x ✅
hexbytes_getitem_index[1-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002380250934644995 0.000022393294421857453 5.92% 6.29% 1.06x ✅
hexbytes_getitem_index[1-b'\\x7f'*8] 0.000023695638706381223 0.000022241779599211267 6.14% 6.54% 1.07x ✅
hexbytes_getitem_index[1-b'\\x80'*8] 0.000023670083060710604 0.000022272682410179857 5.90% 6.27% 1.06x ✅
hexbytes_getitem_index[1-b'\\xde\\xad\\xbe\\xef'] 0.00002380084235735284 0.000022047976480695555 7.36% 7.95% 1.08x ✅
hexbytes_getitem_index[1-b'\\xff'*64] 0.000023765427337946862 0.000022069721273789164 7.14% 7.68% 1.08x ✅
hexbytes_getitem_index[1-b'a'*1024] 0.000023775310601039444 0.000022125647928535266 6.94% 7.46% 1.07x ✅
hexbytes_getitem_index[1-b'abc'] 0.00002373760792027528 0.00002205438764218299 7.09% 7.63% 1.08x ✅
hexbytes_getitem_index[1-long alternating] 0.00002382462708756211 0.000022573733065562038 5.25% 5.54% 1.06x ✅
hexbytes_getitem_index[1-mixed pattern] 0.000023752108921684615 0.000022592054848948384 4.88% 5.13% 1.05x ✅
hexbytes_getitem_index[1-multiples of 0x10] 0.000023913288869972016 0.00002258129399212331 5.57% 5.90% 1.06x ✅
hexbytes_getitem_index[1-palindrome ascii] 0.000023683987367294208 0.00002247251993613579 5.12% 5.39% 1.05x ✅
hexbytes_getitem_index[1-palindrome numeric] 0.000023737654824706364 0.00002244686009394674 5.44% 5.75% 1.06x ✅
hexbytes_getitem_index[1-palindrome] 0.000023853794577160182 0.000022110938634354137 7.31% 7.88% 1.08x ✅
hexbytes_getitem_index[1-repeated 0-9] 0.000023771603373737617 0.00002253478934427665 5.20% 5.49% 1.05x ✅
hexbytes_getitem_index[1-two patterns] 0.000023842914607545444 0.000022502731586980055 5.62% 5.96% 1.06x ✅
hexbytes_getitem_index[2-0-9] 0.000023228051216594024 0.000021953888848501456 5.49% 5.80% 1.06x ✅
hexbytes_getitem_index[2-4-byte pattern] 0.000023651260493890785 0.00002215983796062586 6.31% 6.73% 1.07x ✅
hexbytes_getitem_index[2-all byte values] 0.00002361057680989402 0.00002222586911011048 5.86% 6.23% 1.06x ✅
hexbytes_getitem_index[2-alternating 0x00/0xff] 0.000023674978158371782 0.000022346435005950937 5.61% 5.95% 1.06x ✅
hexbytes_getitem_index[2-alternating 0xaa/0x55] 0.000023666709529450852 0.00002226050337629617 5.94% 6.32% 1.06x ✅
hexbytes_getitem_index[2-ascii sentence] 0.0000234402131936769 0.00002221290648752129 5.24% 5.53% 1.06x ✅
hexbytes_getitem_index[2-b'\\x00'*32] 0.000023557160000494667 0.000022653974667008785 3.83% 3.99% 1.04x ✅
hexbytes_getitem_index[2-b'\\x00\\xff\\x00\\xff'] 0.00002359113925098989 0.000022314780914042822 5.41% 5.72% 1.06x ✅
hexbytes_getitem_index[2-b'\\x01'*100] 0.000023808991321449817 0.000022174023710927683 6.87% 7.37% 1.07x ✅
hexbytes_getitem_index[2-b'\\x01'*2048] 0.0000236278315133817 0.00002225542401982711 5.81% 6.17% 1.06x ✅
hexbytes_getitem_index[2-b'\\x01\\x02\\x03'] 0.000023445684601129407 0.000022678258956707574 3.27% 3.38% 1.03x ✅
hexbytes_getitem_index[2-b'\\x10\\x20\\x30\\x40\\x50'] 0.000023678008534665822 0.000022150727666832924 6.45% 6.89% 1.07x ✅
hexbytes_getitem_index[2-b'\\x7f'*8] 0.000023523934163199945 0.00002220135359953256 5.62% 5.96% 1.06x ✅
hexbytes_getitem_index[2-b'\\x80'*8] 0.00002360275933992926 0.00002223721909317445 5.79% 6.14% 1.06x ✅
hexbytes_getitem_index[2-b'\\xde\\xad\\xbe\\xef'] 0.00002373508207706742 0.000022190839770928617 6.51% 6.96% 1.07x ✅
hexbytes_getitem_index[2-b'\\xff'*64] 0.000023772460500815274 0.000022486219856656932 5.41% 5.72% 1.06x ✅
hexbytes_getitem_index[2-b'a'*1024] 0.000023607672324199324 0.000025324717745671006 -7.27% -6.78% 0.93x ❌
hexbytes_getitem_index[2-b'abc'] 0.000023497296481376547 0.0000224363845835327 4.52% 4.73% 1.05x ✅
hexbytes_getitem_index[2-long alternating] 0.000023402895143278193 0.000022245093607843226 4.95% 5.20% 1.05x ✅
hexbytes_getitem_index[2-mixed pattern] 0.00002371873461417616 0.000022428347869094444 5.44% 5.75% 1.06x ✅
hexbytes_getitem_index[2-multiples of 0x10] 0.000023609474523830532 0.000022234759468655344 5.82% 6.18% 1.06x ✅
hexbytes_getitem_index[2-palindrome ascii] 0.00002370647042188313 0.00002225189325866905 6.14% 6.54% 1.07x ✅
hexbytes_getitem_index[2-palindrome numeric] 0.0000249090576255193 0.00002216840322748953 11.00% 12.36% 1.12x ✅
hexbytes_getitem_index[2-palindrome] 0.000023595739067260137 0.000022257846912879725 5.67% 6.01% 1.06x ✅
hexbytes_getitem_index[2-repeated 0-9] 0.000023426070486623146 0.000022291878724119165 4.84% 5.09% 1.05x ✅
hexbytes_getitem_index[2-two patterns] 0.000023569038700541772 0.00002219537303522928 5.83% 6.19% 1.06x ✅
hexbytes_getitem_index[3-0-9] 0.000023726634715816712 0.000022531631814657553 5.04% 5.30% 1.05x ✅
hexbytes_getitem_index[3-4-byte pattern] 0.0000236934515162992 0.000022335566881084523 5.73% 6.08% 1.06x ✅
hexbytes_getitem_index[3-all byte values] 0.000023496949200850207 0.00002222573170441908 5.41% 5.72% 1.06x ✅
hexbytes_getitem_index[3-alternating 0x00/0xff] 0.000023730946664066013 0.00002237086465162128 5.73% 6.08% 1.06x ✅
hexbytes_getitem_index[3-alternating 0xaa/0x55] 0.000023780956903573434 0.000022493392076614007 5.41% 5.72% 1.06x ✅
hexbytes_getitem_index[3-ascii sentence] 0.000023577948307956356 0.000022223714675995166 5.74% 6.09% 1.06x ✅
hexbytes_getitem_index[3-b'\\x00'*32] 0.00002422224257119346 0.000022435899739473584 7.37% 7.96% 1.08x ✅
hexbytes_getitem_index[3-b'\\x00\\xff\\x00\\xff'] 0.000023711259050011572 0.000022264297688694952 6.10% 6.50% 1.06x ✅
hexbytes_getitem_index[3-b'\\x01'*100] 0.000023772920532805888 0.000022531806419591844 5.22% 5.51% 1.06x ✅
hexbytes_getitem_index[3-b'\\x01'*2048] 0.000023611366704100365 0.000022331098146007347 5.42% 5.73% 1.06x ✅
hexbytes_getitem_index[3-b'\\x10\\x20\\x30\\x40\\x50'] 0.00002361055928393598 0.00002239840446324639 5.13% 5.41% 1.05x ✅
hexbytes_getitem_index[3-b'\\x7f'*8] 0.000023722720786851524 0.00002224794261140559 6.22% 6.63% 1.07x ✅
hexbytes_getitem_index[3-b'\\x80'*8] 0.000023640592203432452 0.000022357356203080655 5.43% 5.74% 1.06x ✅
hexbytes_getitem_index[3-b'\\xde\\xad\\xbe\\xef'] 0.000023496719966340154 0.000022296631743311883 5.11% 5.38% 1.05x ✅
hexbytes_getitem_index[3-b'\\xff'*64] 0.000023759708189217085 0.000022216602165776273 6.49% 6.95% 1.07x ✅
hexbytes_getitem_index[3-b'a'*1024] 0.000023374920694176128 0.000022304283116915567 4.58% 4.80% 1.05x ✅
hexbytes_getitem_index[3-long alternating] 0.00002359687065207211 0.000022258818836116214 5.67% 6.01% 1.06x ✅
hexbytes_getitem_index[3-mixed pattern] 0.000023628576739618016 0.000022369165610332877 5.33% 5.63% 1.06x ✅
hexbytes_getitem_index[3-multiples of 0x10] 0.00002341613739798215 0.00002223443422063325 5.05% 5.31% 1.05x ✅
hexbytes_getitem_index[3-palindrome ascii] 0.00002365115645533192 0.00002229377388072664 5.74% 6.09% 1.06x ✅
hexbytes_getitem_index[3-palindrome numeric] 0.000023527657494930405 0.00002229951116790479 5.22% 5.51% 1.06x ✅
hexbytes_getitem_index[3-palindrome] 0.000023779343348629358 0.000022233086155787385 6.50% 6.95% 1.07x ✅
hexbytes_getitem_index[3-repeated 0-9] 0.000023660612908846225 0.000022240147001632232 6.00% 6.39% 1.06x ✅
hexbytes_getitem_index[3-two patterns] 0.00002363450202482318 0.00002219478861957469 6.09% 6.49% 1.06x ✅
hexbytes_getitem_index[4-0-9] 0.000023760965427668276 0.0000223238037778996 6.05% 6.44% 1.06x ✅
hexbytes_getitem_index[4-4-byte pattern] 0.000023503860725030822 0.00002232335757525794 5.02% 5.29% 1.05x ✅
hexbytes_getitem_index[4-all byte values] 0.00002355597313960602 0.000022275769253819257 5.43% 5.75% 1.06x ✅
hexbytes_getitem_index[4-alternating 0x00/0xff] 0.00002352536041549393 0.00002241314846003062 4.73% 4.96% 1.05x ✅
hexbytes_getitem_index[4-alternating 0xaa/0x55] 0.00002373815223118138 0.00002228374010345343 6.13% 6.53% 1.07x ✅
hexbytes_getitem_index[4-ascii sentence] 0.000024380461536595014 0.000022130667324534512 9.23% 10.17% 1.10x ✅
hexbytes_getitem_index[4-b'\\x00'*32] 0.000023402321718334513 0.000022556550743439347 3.61% 3.75% 1.04x ✅
hexbytes_getitem_index[4-b'\\x01'*100] 0.00002377365073506395 0.000022230780805847084 6.49% 6.94% 1.07x ✅
hexbytes_getitem_index[4-b'\\x01'*2048] 0.000023746800075010762 0.000022339722595055254 5.93% 6.30% 1.06x ✅
hexbytes_getitem_index[4-b'\\x10\\x20\\x30\\x40\\x50'] 0.000023693600602191236 0.00002232079022372454 5.79% 6.15% 1.06x ✅
hexbytes_getitem_index[4-b'\\x7f'*8] 0.000023522003548793993 0.000022417595512316514 4.70% 4.93% 1.05x ✅
hexbytes_getitem_index[4-b'\\x80'*8] 0.00002356714490926944 0.00002204112250863132 6.48% 6.92% 1.07x ✅
hexbytes_getitem_index[4-b'\\xff'*64] 0.000023646648845987772 0.000022326436057798864 5.58% 5.91% 1.06x ✅
hexbytes_getitem_index[4-b'a'*1024] 0.000023712836076287493 0.00002223368937588767 6.24% 6.65% 1.07x ✅
hexbytes_getitem_index[4-long alternating] 0.000023880053882445226 0.000022331487854055063 6.48% 6.93% 1.07x ✅
hexbytes_getitem_index[4-mixed pattern] 0.000023690931473674304 0.00002257771707175798 4.70% 4.93% 1.05x ✅
hexbytes_getitem_index[4-multiples of 0x10] 0.00002371064120417006 0.000022262996875153647 6.11% 6.50% 1.07x ✅
hexbytes_getitem_index[4-palindrome ascii] 0.000023529116889582684 0.000022244245689078154 5.46% 5.78% 1.06x ✅
hexbytes_getitem_index[4-palindrome numeric] 0.00002349505844024389 0.00002225981555787489 5.26% 5.55% 1.06x ✅
hexbytes_getitem_index[4-palindrome] 0.00002358088966911432 0.00002258287985293772 4.23% 4.42% 1.04x ✅
hexbytes_getitem_index[4-repeated 0-9] 0.000023543972615795992 0.000022048903312276033 6.35% 6.78% 1.07x ✅
hexbytes_getitem_index[4-two patterns] 0.000023636450303508977 0.000022338558718872564 5.49% 5.81% 1.06x ✅
hexbytes_getitem_index[5-0-9] 0.000023617832521940398 0.000022520704239240475 4.65% 4.87% 1.05x ✅
hexbytes_getitem_index[5-4-byte pattern] 0.000023825941156148085 0.000022340026992573188 6.24% 6.65% 1.07x ✅
hexbytes_getitem_index[5-all byte values] 0.000023807812227161906 0.00002231038503654546 6.29% 6.71% 1.07x ✅
hexbytes_getitem_index[5-alternating 0x00/0xff] 0.00002428799289474274 0.00002240307693672963 7.76% 8.41% 1.08x ✅
hexbytes_getitem_index[5-alternating 0xaa/0x55] 0.00002374363772075943 0.00002230107331252933 6.08% 6.47% 1.06x ✅
hexbytes_getitem_index[5-ascii sentence] 0.000023929130111975282 0.00002398472025843386 -0.23% -0.23% 1.00x ❌
hexbytes_getitem_index[5-b'\\x00'*32] 0.00002362725176797572 0.000022536835246460475 4.62% 4.84% 1.05x ✅
hexbytes_getitem_index[5-b'\\x01'*100] 0.000023876272598952312 0.00002261821422593844 5.27% 5.56% 1.06x ✅
hexbytes_getitem_index[5-b'\\x01'*2048] 0.00002340860142929298 0.00002232319063415004 4.64% 4.86% 1.05x ✅
hexbytes_getitem_index[5-b'\\x7f'*8] 0.000023656958335584624 0.000022617509300910914 4.39% 4.60% 1.05x ✅
hexbytes_getitem_index[5-b'\\x80'*8] 0.000023612975228885884 0.00002251453634123252 4.65% 4.88% 1.05x ✅
hexbytes_getitem_index[5-b'\\xff'*64] 0.00002371022968573766 0.00002249355713161531 5.13% 5.41% 1.05x ✅
hexbytes_getitem_index[5-b'a'*1024] 0.000023772111625206435 0.000022587199206053436 4.98% 5.25% 1.05x ✅
hexbytes_getitem_index[5-long alternating] 0.00002370005869935754 0.000022330901553451598 5.78% 6.13% 1.06x ✅
hexbytes_getitem_index[5-mixed pattern] 0.00002373476131031988 0.000022374087257707725 5.73% 6.08% 1.06x ✅
hexbytes_getitem_index[5-multiples of 0x10] 0.00002365310866186767 0.0000224810695461065 4.96% 5.21% 1.05x ✅
hexbytes_getitem_index[5-palindrome ascii] 0.00002361434740576753 0.00002238310685379812 5.21% 5.50% 1.06x ✅
hexbytes_getitem_index[5-palindrome] 0.000023800526766278416 0.000022555943736146546 5.23% 5.52% 1.06x ✅
hexbytes_getitem_index[5-repeated 0-9] 0.00002396369125531305 0.00002236806906409447 6.66% 7.13% 1.07x ✅
hexbytes_getitem_index[5-two patterns] 0.000023714925387701932 0.000022420584736922933 5.46% 5.77% 1.06x ✅
hexbytes_getitem_slice[slice(-3,None)-0-9] 0.00008007053359157771 0.0000591883051766613 26.08% 35.28% 1.35x ✅
hexbytes_getitem_slice[slice(-3,None)-4-byte pattern] 0.00008046996743632509 0.000059435882029276056 26.14% 35.39% 1.35x ✅
hexbytes_getitem_slice[slice(-3,None)-all byte values] 0.00008104233225843187 0.000058444817210182484 27.88% 38.66% 1.39x ✅
hexbytes_getitem_slice[slice(-3,None)-alternating 0x00/0xff] 0.00008099960807370753 0.00005871166745776959 27.52% 37.96% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-alternating 0xaa/0x55] 0.00008094441157463431 0.00006046128909371269 25.31% 33.88% 1.34x ✅
hexbytes_getitem_slice[slice(-3,None)-ascii sentence] 0.00008041015833350834 0.000059138429808978436 26.45% 35.97% 1.36x ✅
hexbytes_getitem_slice[slice(-3,None)-b''] 0.00008071160205907192 0.00005617234622619293 30.40% 43.69% 1.44x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x00'*32] 0.00008100041623253304 0.000058592485078757826 27.66% 38.24% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x00\\xff\\x00\\xff'] 0.000080871014164072 0.000058456183066407306 27.72% 38.34% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*100] 0.00008143785204456366 0.00005896186710066884 27.60% 38.12% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x01'*2048] 0.00008288781847470672 0.00005821890132868108 29.76% 42.37% 1.42x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x01\\x02\\x03'] 0.00008189203202036322 0.00005925224057207299 27.65% 38.21% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008070585305405493 0.00005741920690901514 28.85% 40.56% 1.41x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x7f'*8] 0.00008167656301588258 0.00005846731804770591 28.42% 39.70% 1.40x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\x80'*8] 0.00008128094845796815 0.00005836234847383727 28.20% 39.27% 1.39x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\xde\\xad\\xbe\\xef'] 0.00008062140286002418 0.00005836734525537183 27.60% 38.13% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-b'\\xff'*64] 0.00008148488294691245 0.00005861183799159334 28.07% 39.02% 1.39x ✅
hexbytes_getitem_slice[slice(-3,None)-b'a'*1024] 0.00008073090691420267 0.00005869847825367481 27.29% 37.53% 1.38x ✅
hexbytes_getitem_slice[slice(-3,None)-b'abc'] 0.0000819122157783341 0.00005913758280388081 27.80% 38.51% 1.39x ✅
hexbytes_getitem_slice[slice(-3,None)-long alternating] 0.00008033181422234859 0.00005899034687244678 26.57% 36.18% 1.36x ✅
hexbytes_getitem_slice[slice(-3,None)-mixed pattern] 0.00007952109623737656 0.00005939231811728849 25.31% 33.89% 1.34x ✅
hexbytes_getitem_slice[slice(-3,None)-multiples of 0x10] 0.00008047876464626823 0.00005905849562809203 26.62% 36.27% 1.36x ✅
hexbytes_getitem_slice[slice(-3,None)-palindrome ascii] 0.00008117024026543446 0.000058059607005607705 28.47% 39.81% 1.40x ✅
hexbytes_getitem_slice[slice(-3,None)-palindrome numeric] 0.00008037612884546987 0.000058741333454893105 26.92% 36.83% 1.37x ✅
hexbytes_getitem_slice[slice(-3,None)-palindrome] 0.00008087114066690523 0.00005829651340505473 27.91% 38.72% 1.39x ✅
hexbytes_getitem_slice[slice(-3,None)-repeated 0-9] 0.00008010180027046354 0.000060045503511490245 25.04% 33.40% 1.33x ✅
hexbytes_getitem_slice[slice(-3,None)-single 0xff] 0.0000796770505763608 0.00005659824298720379 28.97% 40.78% 1.41x ✅
hexbytes_getitem_slice[slice(-3,None)-single null byte] 0.000079627679901938 0.000056596451554274 28.92% 40.69% 1.41x ✅
hexbytes_getitem_slice[slice(-3,None)-two patterns] 0.00007949959589991781 0.00005932857169369149 25.37% 34.00% 1.34x ✅
hexbytes_getitem_slice[slice(0,3)-0-9] 0.00008137379175878983 0.00005925519987697521 27.18% 37.33% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-4-byte pattern] 0.00008153072234478465 0.00005935647438925828 27.20% 37.36% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-all byte values] 0.00008183628684856256 0.000058307831433914016 28.75% 40.35% 1.40x ✅
hexbytes_getitem_slice[slice(0,3)-alternating 0x00/0xff] 0.0000818868749615071 0.00005948721680326446 27.35% 37.65% 1.38x ✅
hexbytes_getitem_slice[slice(0,3)-alternating 0xaa/0x55] 0.00008136015587156658 0.000059087575889131526 27.38% 37.69% 1.38x ✅
hexbytes_getitem_slice[slice(0,3)-ascii sentence] 0.00008050949777523321 0.000059770707494256836 25.76% 34.70% 1.35x ✅
hexbytes_getitem_slice[slice(0,3)-b''] 0.00008137978125334429 0.000057114227115769024 29.82% 42.49% 1.42x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x00'*32] 0.00008376637150062209 0.00005911689409305911 29.43% 41.70% 1.42x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x00\\xff\\x00\\xff'] 0.00008128474799690063 0.00005940242407820464 26.92% 36.84% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*100] 0.00008161964810259146 0.000059387744859764185 27.24% 37.44% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x01'*2048] 0.00008156899002229266 0.00006023174141971268 26.16% 35.43% 1.35x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x01\\x02\\x03'] 0.00008203496037004181 0.00005990056189866192 26.98% 36.95% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008138465273424588 0.00005928683401459446 27.15% 37.27% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x7f'*8] 0.00008150740777298216 0.000059327825183131064 27.21% 37.38% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\x80'*8] 0.0000821868581233161 0.000059298017013800146 27.85% 38.60% 1.39x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\xde\\xad\\xbe\\xef'] 0.00008171288166257191 0.000059766889599442434 26.86% 36.72% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'\\xff'*64] 0.00008146190154210063 0.000059092086865570756 27.46% 37.86% 1.38x ✅
hexbytes_getitem_slice[slice(0,3)-b'a'*1024] 0.00008172655599890433 0.00005978148563437273 26.85% 36.71% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-b'abc'] 0.0000816666731081851 0.000059267641877802246 27.43% 37.79% 1.38x ✅
hexbytes_getitem_slice[slice(0,3)-long alternating] 0.00008101293745428136 0.00005894182010164161 27.24% 37.45% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-mixed pattern] 0.00008065290614541487 0.000059640619437568206 26.05% 35.23% 1.35x ✅
hexbytes_getitem_slice[slice(0,3)-multiples of 0x10] 0.0000814564963101952 0.000059337348341449664 27.15% 37.28% 1.37x ✅
hexbytes_getitem_slice[slice(0,3)-palindrome ascii] 0.00008162267961025392 0.000059314132319242824 27.33% 37.61% 1.38x ✅
hexbytes_getitem_slice[slice(0,3)-palindrome numeric] 0.0000822038837500083 0.00005866320079752816 28.64% 40.13% 1.40x ✅
hexbytes_getitem_slice[slice(0,3)-palindrome] 0.00008139653994563187 0.00006007168080124776 26.20% 35.50% 1.35x ✅
hexbytes_getitem_slice[slice(0,3)-repeated 0-9] 0.00008280452743521414 0.0000591287359607602 28.59% 40.04% 1.40x ✅
hexbytes_getitem_slice[slice(0,3)-single 0xff] 0.00008059204682195178 0.00005715137914816052 29.09% 41.02% 1.41x ✅
hexbytes_getitem_slice[slice(0,3)-single null byte] 0.00008092778249573275 0.0000572805850032137 29.22% 41.28% 1.41x ✅
hexbytes_getitem_slice[slice(0,3)-two patterns] 0.0000816622621371222 0.00005972984005389249 26.86% 36.72% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-0-9] 0.00008143712969519622 0.000059289112516088285 27.20% 37.36% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-4-byte pattern] 0.00008112741447120546 0.00005799398346235392 28.51% 39.89% 1.40x ✅
hexbytes_getitem_slice[slice(1,6)-all byte values] 0.00008129679373402276 0.0000593056457417804 27.05% 37.08% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-alternating 0x00/0xff] 0.0000813321115998143 0.000058651000364413453 27.89% 38.67% 1.39x ✅
hexbytes_getitem_slice[slice(1,6)-alternating 0xaa/0x55] 0.00008064089946290853 0.00005968698952989764 25.98% 35.11% 1.35x ✅
hexbytes_getitem_slice[slice(1,6)-ascii sentence] 0.00008051233158940045 0.00006094366361401773 24.31% 32.11% 1.32x ✅
hexbytes_getitem_slice[slice(1,6)-b''] 0.00008058701978775959 0.00005691154275065607 29.38% 41.60% 1.42x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x00'*32] 0.00008173441884291555 0.00005935648722059975 27.38% 37.70% 1.38x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x00\\xff\\x00\\xff'] 0.00008192269124531996 0.000058945863171146835 28.05% 38.98% 1.39x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*100] 0.00008235935964424792 0.00005930125208145197 28.00% 38.88% 1.39x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x01'*2048] 0.0000815534560989202 0.00005975997721881477 26.72% 36.47% 1.36x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x01\\x02\\x03'] 0.00008084958049502176 0.000058992989390556666 27.03% 37.05% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008157480051760206 0.000059872303192162584 26.60% 36.25% 1.36x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x7f'*8] 0.00008221421857687238 0.000059106547439091494 28.11% 39.09% 1.39x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\x80'*8] 0.00008109159174476557 0.000059387044624314246 26.77% 36.55% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\xde\\xad\\xbe\\xef'] 0.0000817862265396799 0.00005900957278231614 27.85% 38.60% 1.39x ✅
hexbytes_getitem_slice[slice(1,6)-b'\\xff'*64] 0.00008120363139590742 0.00005867275006165481 27.75% 38.40% 1.38x ✅
hexbytes_getitem_slice[slice(1,6)-b'a'*1024] 0.00008136041403705816 0.0000594761301260731 26.90% 36.80% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-b'abc'] 0.00008193828760960783 0.00005970591899242931 27.13% 37.24% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-long alternating] 0.00008162434333528085 0.000059538380747891384 27.06% 37.10% 1.37x ✅
hexbytes_getitem_slice[slice(1,6)-mixed pattern] 0.00008130063628028421 0.00005964530755765085 26.64% 36.31% 1.36x ✅
hexbytes_getitem_slice[slice(1,6)-multiples of 0x10] 0.00008171922888982449 0.00005913890365493088 27.63% 38.18% 1.38x ✅
hexbytes_getitem_slice[slice(1,6)-palindrome ascii] 0.00008138242885044692 0.000059089756900770883 27.39% 37.73% 1.38x ✅
hexbytes_getitem_slice[slice(1,6)-palindrome numeric] 0.00008164280467843992 0.00005994233778623744 26.58% 36.20% 1.36x ✅
hexbytes_getitem_slice[slice(1,6)-palindrome] 0.00008150949007057312 0.00005916519176764786 27.41% 37.77% 1.38x ✅
hexbytes_getitem_slice[slice(1,6)-repeated 0-9] 0.00008186471310858046 0.000059976264221488035 26.74% 36.50% 1.36x ✅
hexbytes_getitem_slice[slice(1,6)-single 0xff] 0.00007977645714048397 0.000057010448421544605 28.54% 39.93% 1.40x ✅
hexbytes_getitem_slice[slice(1,6)-single null byte] 0.00007901588967116881 0.00005698290155827673 27.88% 38.67% 1.39x ✅
hexbytes_getitem_slice[slice(1,6)-two patterns] 0.0000813863285590293 0.00005997786421566374 26.30% 35.69% 1.36x ✅
hexbytes_getitem_slice[slice(2,None)-0-9] 0.00008039295585312912 0.000057668202717018645 28.27% 39.41% 1.39x ✅
hexbytes_getitem_slice[slice(2,None)-4-byte pattern] 0.00008098423872502504 0.00005918271678748167 26.92% 36.84% 1.37x ✅
hexbytes_getitem_slice[slice(2,None)-all byte values] 0.00008198662204787615 0.00005962793899211294 27.27% 37.50% 1.37x ✅
hexbytes_getitem_slice[slice(2,None)-alternating 0x00/0xff] 0.00008091875849882501 0.00005684864382110119 29.75% 42.34% 1.42x ✅
hexbytes_getitem_slice[slice(2,None)-alternating 0xaa/0x55] 0.00008100255788854349 0.000057504225987804774 29.01% 40.86% 1.41x ✅
hexbytes_getitem_slice[slice(2,None)-ascii sentence] 0.00008070519546237745 0.00005715451828087377 29.18% 41.21% 1.41x ✅
hexbytes_getitem_slice[slice(2,None)-b''] 0.00007997692125170175 0.00005575408415422379 30.29% 43.45% 1.43x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x00'*32] 0.00008094045406656354 0.00005950379532330223 26.48% 36.03% 1.36x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x00\\xff\\x00\\xff'] 0.00008042178060105228 0.000059269199062436746 26.30% 35.69% 1.36x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*100] 0.00008072888393447784 0.0000588374719600489 27.12% 37.21% 1.37x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x01'*2048] 0.00010459668675175937 0.00008101199336781203 22.55% 29.11% 1.29x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x01\\x02\\x03'] 0.00007982505352332357 0.000057175709324605435 28.37% 39.61% 1.40x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.0000795891378845112 0.000058747141092594576 26.19% 35.48% 1.35x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x7f'*8] 0.0000809234374474012 0.000058700683745175526 27.46% 37.86% 1.38x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\x80'*8] 0.00008032233206384222 0.00005867088194009351 26.96% 36.90% 1.37x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\xde\\xad\\xbe\\xef'] 0.00008132021584832225 0.00006051189676450661 25.59% 34.39% 1.34x ✅
hexbytes_getitem_slice[slice(2,None)-b'\\xff'*64] 0.00008072991550773435 0.00005704546161963699 29.34% 41.52% 1.42x ✅
hexbytes_getitem_slice[slice(2,None)-b'a'*1024] 0.00010028344328514237 0.00007409910003129759 26.11% 35.34% 1.35x ✅
hexbytes_getitem_slice[slice(2,None)-b'abc'] 0.00007951323843276504 0.000057632405059915575 27.52% 37.97% 1.38x ✅
hexbytes_getitem_slice[slice(2,None)-long alternating] 0.00009923328648129209 0.00007466194881691436 24.76% 32.91% 1.33x ✅
hexbytes_getitem_slice[slice(2,None)-mixed pattern] 0.00008150809104462211 0.000060294019039987295 26.03% 35.18% 1.35x ✅
hexbytes_getitem_slice[slice(2,None)-multiples of 0x10] 0.0000793145458782136 0.00005735060430240737 27.69% 38.30% 1.38x ✅
hexbytes_getitem_slice[slice(2,None)-palindrome ascii] 0.00008049539623917944 0.00005873981840781735 27.03% 37.04% 1.37x ✅
hexbytes_getitem_slice[slice(2,None)-palindrome numeric] 0.00008106904812495661 0.00005783689665663824 28.66% 40.17% 1.40x ✅
hexbytes_getitem_slice[slice(2,None)-palindrome] 0.00008056886620109182 0.00005893694070320821 26.85% 36.70% 1.37x ✅
hexbytes_getitem_slice[slice(2,None)-repeated 0-9] 0.00008191542040580556 0.00005871957284823992 28.32% 39.50% 1.40x ✅
hexbytes_getitem_slice[slice(2,None)-single 0xff] 0.00007825235999389942 0.00005645292269221605 27.86% 38.62% 1.39x ✅
hexbytes_getitem_slice[slice(2,None)-single null byte] 0.00007807501948926507 0.00005634230520094374 27.84% 38.57% 1.39x ✅
hexbytes_getitem_slice[slice(2,None)-two patterns] 0.00008090805538425884 0.000057226175540652764 29.27% 41.38% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-0-9] 0.00008014373993369297 0.00005637235631740517 29.66% 42.17% 1.42x ✅
hexbytes_getitem_slice[slice(None,None)-4-byte pattern] 0.00008116373799657533 0.0000583558279497837 28.10% 39.08% 1.39x ✅
hexbytes_getitem_slice[slice(None,None)-all byte values] 0.00008072131176196176 0.000058507719381784184 27.52% 37.97% 1.38x ✅
hexbytes_getitem_slice[slice(None,None)-alternating 0x00/0xff] 0.00008039797096105672 0.0000571616459049139 28.90% 40.65% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-alternating 0xaa/0x55] 0.00008030304409368065 0.00005749946094320188 28.40% 39.66% 1.40x ✅
hexbytes_getitem_slice[slice(None,None)-ascii sentence] 0.00007967640431229987 0.00005512446228146602 30.81% 44.54% 1.45x ✅
hexbytes_getitem_slice[slice(None,None)-b''] 0.00007706059475514192 0.00005452211990033925 29.25% 41.34% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x00'*32] 0.00007941560746329833 0.00005606712674327531 29.40% 41.64% 1.42x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x00\\xff\\x00\\xff'] 0.0000792923152591903 0.00005765383593795537 27.29% 37.53% 1.38x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*100] 0.00008077030926108315 0.00005804988022740268 28.13% 39.14% 1.39x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x01'*2048] 0.00010498529278486804 0.00007763641472185847 26.05% 35.23% 1.35x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x01\\x02\\x03'] 0.00008016039424780243 0.00005731864588765544 28.50% 39.85% 1.40x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x10\\x20\\x30\\x40\\x50'] 0.00008026917919677767 0.00005800064065331614 27.74% 38.39% 1.38x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x7f'*8] 0.00008007045017591583 0.000056747608859493026 29.13% 41.10% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\x80'*8] 0.00008055831691389242 0.00005717722403377991 29.02% 40.89% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\xde\\xad\\xbe\\xef'] 0.00007978575037232806 0.00005710897492398632 28.42% 39.71% 1.40x ✅
hexbytes_getitem_slice[slice(None,None)-b'\\xff'*64] 0.00007970193748934714 0.000057041183925562224 28.43% 39.73% 1.40x ✅
hexbytes_getitem_slice[slice(None,None)-b'a'*1024] 0.00009667094420883797 0.00007265842746650937 24.84% 33.05% 1.33x ✅
hexbytes_getitem_slice[slice(None,None)-b'abc'] 0.0000798639350353449 0.00005749672439650402 28.01% 38.90% 1.39x ✅
hexbytes_getitem_slice[slice(None,None)-long alternating] 0.0000973308725426168 0.00007388602669906247 24.09% 31.73% 1.32x ✅
hexbytes_getitem_slice[slice(None,None)-mixed pattern] 0.000079195615740771 0.000058150950415545585 26.57% 36.19% 1.36x ✅
hexbytes_getitem_slice[slice(None,None)-multiples of 0x10] 0.00008024713314164385 0.00005592917408759874 30.30% 43.48% 1.43x ✅
hexbytes_getitem_slice[slice(None,None)-palindrome ascii] 0.00008014756916364704 0.00005703444377092832 28.84% 40.52% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-palindrome numeric] 0.00007916546720066924 0.000057547069748896725 27.31% 37.57% 1.38x ✅
hexbytes_getitem_slice[slice(None,None)-palindrome] 0.00008038605749877402 0.00005768414418486332 28.24% 39.36% 1.39x ✅
hexbytes_getitem_slice[slice(None,None)-repeated 0-9] 0.0000803710432836445 0.00005741992301788819 28.56% 39.97% 1.40x ✅
hexbytes_getitem_slice[slice(None,None)-single 0xff] 0.00007824689528853764 0.000054946291595928215 29.78% 42.41% 1.42x ✅
hexbytes_getitem_slice[slice(None,None)-single null byte] 0.00007773416097364294 0.00005523451355181796 28.94% 40.73% 1.41x ✅
hexbytes_getitem_slice[slice(None,None)-two patterns] 0.00008011716709122198 0.00005732408708200059 28.45% 39.76% 1.40x ✅
hexbytes_new[''] 0.0000708274646342054 0.00003708864143790712 47.64% 90.97% 1.91x ✅
hexbytes_new['0x'] 0.000078731592912703 0.000037658887160130675 52.17% 109.07% 2.09x ✅
hexbytes_new['0x'+'00'*64] 0.00009301551176473998 0.00004962770302632226 46.65% 87.43% 1.87x ✅
hexbytes_new['0x'+'a'*128] 0.00009280706662108321 0.00005099888306249381 45.05% 81.98% 1.82x ✅
hexbytes_new['0x'+'ff'*32] 0.0000897231034034881 0.00004553853379860141 49.25% 97.03% 1.97x ✅
hexbytes_new['0x1234'] 0.00008669461475522998 0.0000452752945749371 47.78% 91.48% 1.91x ✅
hexbytes_new['0xabcdef'] 0.00008748840518450914 0.000045232383399998954 48.30% 93.42% 1.93x ✅
hexbytes_new['0xCAFEBABE'] 0.00008690683624709864 0.00004466920811565518 48.60% 94.56% 1.95x ✅
hexbytes_new['0xdeadbeef'] 0.00008622913764006683 0.000045856487426654766 46.82% 88.04% 1.88x ✅
hexbytes_new['abc'] 0.00008369882211905355 0.00004803896734562412 42.60% 74.23% 1.74x ✅
hexbytes_new['deadbeef'] 0.00007712595178678401 0.00004161519681792408 46.04% 85.33% 1.85x ✅
hexbytes_new[0-9] 0.00004233343228886375 0.00002543888539479512 39.91% 66.41% 1.66x ✅
hexbytes_new[0] 0.00012489466131127607 0.00006230690121385594 50.11% 100.45% 2.00x ✅
hexbytes_new[123456] 0.00012859222651521597 0.00006619854610953631 48.52% 94.25% 1.94x ✅
hexbytes_new[2**16] 0.0001301803224504863 0.0000669033468171414 48.61% 94.58% 1.95x ✅
hexbytes_new[2**256-1] 0.00013397978618060182 0.00007400168281417769 44.77% 81.05% 1.81x ✅
hexbytes_new[2**32] 0.00012940810330675653 0.000069994430344979 45.91% 84.88% 1.85x ✅
hexbytes_new[2**64] 0.0001329500908717946 0.00007265304462518546 45.35% 82.99% 1.83x ✅
hexbytes_new[2**8] 0.00012737387041870628 0.00006412235014656697 49.66% 98.64% 1.99x ✅
hexbytes_new[4-byte pattern] 0.00004362392532496783 0.00002672811894971768 38.73% 63.21% 1.63x ✅
hexbytes_new[all byte values] 0.000043388317721811444 0.000026609187537409175 38.67% 63.06% 1.63x ✅
hexbytes_new[alternating 0x00/0xff] 0.00004218981600274725 0.000026060524413253885 38.23% 61.89% 1.62x ✅
hexbytes_new[alternating 0xaa/0x55] 0.00004270561427018711 0.00002639115198523386 38.20% 61.82% 1.62x ✅
hexbytes_new[ascii sentence] 0.00004313840140643124 0.000025608839076528445 40.64% 68.45% 1.68x ✅
hexbytes_new[b''] 0.000042331992321421755 0.000025256669364949658 40.34% 67.61% 1.68x ✅
hexbytes_new[b'\\x00'*32] 0.00004185420129612947 0.000025675235794041834 38.66% 63.01% 1.63x ✅
hexbytes_new[b'\\x00\\xff\\x00\\xff'] 0.00004228193080449218 0.00002565488929669125 39.32% 64.81% 1.65x ✅
hexbytes_new[b'\\x01'*100] 0.00004299528002174565 0.00002600314982329285 39.52% 65.35% 1.65x ✅
hexbytes_new[b'\\x01'*2048] 0.00005584040090559835 0.000038982103474598383 30.19% 43.25% 1.43x ✅
hexbytes_new[b'\\x01\\x02\\x03'] 0.00004244824610190116 0.000025548254478569134 39.81% 66.15% 1.66x ✅
hexbytes_new[b'\\x10\\x20\\x30\\x40\\x50'] 0.000042995253178013274 0.000025557917052631122 40.56% 68.23% 1.68x ✅
hexbytes_new[b'\\x7f'*8] 0.0000418461306303867 0.000025562470131595634 38.91% 63.70% 1.64x ✅
hexbytes_new[b'\\x80'*8] 0.00004213739332052695 0.000025702479897828824 39.00% 63.94% 1.64x ✅
hexbytes_new[b'\\xde\\xad\\xbe\\xef'] 0.000042708037965256933 0.000025357663643591424 40.63% 68.42% 1.68x ✅
hexbytes_new[b'\\xff'*64] 0.00004230759232063888 0.000026558531818546865 37.23% 59.30% 1.59x ✅
hexbytes_new[b'a'*1024] 0.000050346006104243124 0.00003303983320042854 34.37% 52.38% 1.52x ✅
hexbytes_new[b'abc'] 0.000042084238789881205 0.000025476431558728225 39.46% 65.19% 1.65x ✅
hexbytes_new[bytearray(0-9)] 0.00006850224864502192 0.00003690743335358764 46.12% 85.61% 1.86x ✅
hexbytes_new[bytearray(4-byte pattern)] 0.000069632167132169 0.00003783948399507416 45.66% 84.02% 1.84x ✅
hexbytes_new[bytearray(all byte values)] 0.00006943806977398369 0.00003819338999218875 45.00% 81.81% 1.82x ✅
hexbytes_new[bytearray(alternating 0x00/0xff)] 0.00006887761505431882 0.00003729870041236756 45.85% 84.66% 1.85x ✅
hexbytes_new[bytearray(alternating 0xaa/0x55)] 0.00006949230363266036 0.00003732562302227107 46.29% 86.18% 1.86x ✅
hexbytes_new[bytearray(ascii sentence)] 0.00006908280517768143 0.00003667630529183974 46.91% 88.36% 1.88x ✅
hexbytes_new[bytearray(b'')] 0.00006723326980386 0.00003604843816732908 46.38% 86.51% 1.87x ✅
hexbytes_new[bytearray(b'\\x00'*32)] 0.00006999946910075759 0.00003604444074602917 48.51% 94.20% 1.94x ✅
hexbytes_new[bytearray(b'\\x00\\xff\\x00\\xff')] 0.00006910781529105465 0.00003722613647580846 46.13% 85.64% 1.86x ✅
hexbytes_new[bytearray(b'\\x01'*100)] 0.00006941679495204744 0.00003737931929195642 46.15% 85.71% 1.86x ✅
hexbytes_new[bytearray(b'\\x01'*2048)] 0.00009057027731484045 0.00005576607164060525 38.43% 62.41% 1.62x ✅
hexbytes_new[bytearray(b'\\x01\\x02\\x03')] 0.00006932947327677251 0.00003757016590352016 45.81% 84.53% 1.85x ✅
hexbytes_new[bytearray(b'\\x10\\x20\\x30\\x40\\x50')] 0.0000690784703700078 0.00003704431666361911 46.37% 86.48% 1.86x ✅
hexbytes_new[bytearray(b'\\x7f'*8)] 0.00006829923820303074 0.00003675835243505904 46.18% 85.81% 1.86x ✅
hexbytes_new[bytearray(b'\\x80'*8)] 0.00006861109311975318 0.000036798686785484164 46.37% 86.45% 1.86x ✅
hexbytes_new[bytearray(b'\\xde\\xad\\xbe\\xef')] 0.00006917947204138583 0.000037240284585127154 46.17% 85.77% 1.86x ✅
hexbytes_new[bytearray(b'\\xff'*64)] 0.00006921246256199787 0.000037157831874800276 46.31% 86.27% 1.86x ✅
hexbytes_new[bytearray(b'a'*1024)] 0.0000847703819587686 0.000048809195349810506 42.42% 73.68% 1.74x ✅
hexbytes_new[bytearray(b'abc')] 0.00006977388162090394 0.000038201724038337615 45.25% 82.65% 1.83x ✅
hexbytes_new[bytearray(long alternating)] 0.00008516285711670275 0.000048741212348071465 42.77% 74.72% 1.75x ✅
hexbytes_new[bytearray(mixed pattern)] 0.00006935307587023663 0.000037481862613591786 45.96% 85.03% 1.85x ✅
hexbytes_new[bytearray(multiples of 0x10)] 0.0000687155422880846 0.00003654895141393371 46.81% 88.01% 1.88x ✅
hexbytes_new[bytearray(palindrome ascii)] 0.00006971709334997979 0.00003758976180168755 46.08% 85.47% 1.85x ✅
hexbytes_new[bytearray(palindrome numeric)] 0.00007094095290161597 0.00003731352744907816 47.40% 90.12% 1.90x ✅
hexbytes_new[bytearray(palindrome)] 0.00006947594902640355 0.00003690437611606336 46.88% 88.26% 1.88x ✅
hexbytes_new[bytearray(repeated 0-9)] 0.00007262323511308677 0.00003750574228876468 48.36% 93.63% 1.94x ✅
hexbytes_new[bytearray(single 0xff)] 0.00007016801848707358 0.00003816427960950424 45.61% 83.86% 1.84x ✅
hexbytes_new[bytearray(single null byte)] 0.0000698653862816342 0.000038116221513114985 45.44% 83.30% 1.83x ✅
hexbytes_new[bytearray(two patterns)] 0.00007016268399566283 0.000037247909214047446 46.91% 88.37% 1.88x ✅
hexbytes_new[False] 0.0000603838136561952 0.00002671202971434173 55.76% 126.05% 2.26x ✅
hexbytes_new[long alternating] 0.00005087339032143783 0.000032925418023943904 35.28% 54.51% 1.55x ✅
hexbytes_new[memoryview(0-9)] 0.00008300687124614567 0.00004360910464603991 47.46% 90.34% 1.90x ✅
hexbytes_new[memoryview(4-byte pattern)] 0.00008356935873848748 0.00004399595404793532 47.35% 89.95% 1.90x ✅
hexbytes_new[memoryview(all byte values)] 0.00008439521728177307 0.00004365750021174337 48.27% 93.31% 1.93x ✅
hexbytes_new[memoryview(alternating 0x00/0xff)] 0.00008373352034985452 0.00004348828662567696 48.06% 92.54% 1.93x ✅
hexbytes_new[memoryview(alternating 0xaa/0x55)] 0.00008429866655099627 0.000043666586198780386 48.20% 93.05% 1.93x ✅
hexbytes_new[memoryview(ascii sentence)] 0.00008328693321744005 0.00004321561189076176 48.11% 92.72% 1.93x ✅
hexbytes_new[memoryview(b'')] 0.0000810002671719797 0.0000409970658256043 49.39% 97.58% 1.98x ✅
hexbytes_new[memoryview(b'\\x00'*32)] 0.00008379393050282726 0.000042435941604546554 49.36% 97.46% 1.97x ✅
hexbytes_new[memoryview(b'\\x00\\xff\\x00\\xff')] 0.00008409384247665331 0.000043102916064841396 48.74% 95.10% 1.95x ✅
hexbytes_new[memoryview(b'\\x01'*100)] 0.00008369877126352297 0.00004369007874261517 47.80% 91.57% 1.92x ✅
hexbytes_new[memoryview(b'\\x01'*2048)] 0.00010534671505685579 0.00006263960372864377 40.54% 68.18% 1.68x ✅
hexbytes_new[memoryview(b'\\x01\\x02\\x03')] 0.00008476130547742112 0.000042716869980634986 49.60% 98.43% 1.98x ✅
hexbytes_new[memoryview(b'\\x10\\x20\\x30\\x40\\x50')] 0.00008138508668447544 0.00004333547255653511 46.75% 87.80% 1.88x ✅
hexbytes_new[memoryview(b'\\x7f'*8)] 0.00008285918541809356 0.00004322926135021755 47.83% 91.67% 1.92x ✅
hexbytes_new[memoryview(b'\\x80'*8)] 0.00008317245596958721 0.000043218711097535285 48.04% 92.45% 1.92x ✅
hexbytes_new[memoryview(b'\\xde\\xad\\xbe\\xef')] 0.00008031287754727069 0.00004348457481825431 45.86% 84.69% 1.85x ✅
hexbytes_new[memoryview(b'\\xff'*64)] 0.00008307422515365253 0.00004339144993338393 47.77% 91.45% 1.91x ✅
hexbytes_new[memoryview(b'a'*1024)] 0.00009954741266198724 0.000056256521024569285 43.49% 76.95% 1.77x ✅
hexbytes_new[memoryview(b'abc')] 0.0000835604959043429 0.00004313051172611698 48.38% 93.74% 1.94x ✅
hexbytes_new[memoryview(long alternating)] 0.00009821756694237068 0.00005666516389893766 42.31% 73.33% 1.73x ✅
hexbytes_new[memoryview(mixed pattern)] 0.00008365878194039658 0.00004391960801008134 47.50% 90.48% 1.90x ✅
hexbytes_new[memoryview(multiples of 0x10)] 0.0000830895835412085 0.000043540281766245474 47.60% 90.83% 1.91x ✅
hexbytes_new[memoryview(palindrome ascii)] 0.0000830922993459617 0.00004502398288209992 45.81% 84.55% 1.85x ✅
hexbytes_new[memoryview(palindrome numeric)] 0.00008148676011487268 0.0000429404951002594 47.30% 89.77% 1.90x ✅
hexbytes_new[memoryview(palindrome)] 0.00008342976899100175 0.00004341665748322263 47.96% 92.16% 1.92x ✅
hexbytes_new[memoryview(repeated 0-9)] 0.00008356142201879202 0.000043598460817021415 47.82% 91.66% 1.92x ✅
hexbytes_new[memoryview(single 0xff)] 0.00008446105602098584 0.00004374458456088441 48.21% 93.08% 1.93x ✅
hexbytes_new[memoryview(single null byte)] 0.00008364344724629775 0.00004365036583012592 47.81% 91.62% 1.92x ✅
hexbytes_new[memoryview(two patterns)] 0.00008394957186459082 0.00004349826478723092 48.19% 93.00% 1.93x ✅
hexbytes_new[mixed pattern] 0.00004306078467808769 0.000026729316904888396 37.93% 61.10% 1.61x ✅
hexbytes_new[multiples of 0x10] 0.00004236752720463492 0.000025616771155925758 39.54% 65.39% 1.65x ✅
hexbytes_new[palindrome ascii] 0.00004255346405499934 0.000025547740898131496 39.96% 66.56% 1.67x ✅
hexbytes_new[palindrome numeric] 0.00004279935676827912 0.000025539987860083574 40.33% 67.58% 1.68x ✅
hexbytes_new[palindrome] 0.00004220079463678369 0.00002574101388269381 39.00% 63.94% 1.64x ✅
hexbytes_new[repeated 0-9] 0.000043376057670676895 0.000026603039134622767 38.67% 63.05% 1.63x ✅
hexbytes_new[single 0xff] 0.00004491768669525083 0.000025213675312857224 43.87% 78.15% 1.78x ✅
hexbytes_new[single null byte] 0.00004265801488421068 0.000025446972572793768 40.35% 67.63% 1.68x ✅
hexbytes_new[True] 0.00005972650800592121 0.000027003721826890474 54.79% 121.18% 2.21x ✅
hexbytes_new[two patterns] 0.000043729879598134944 0.00002651481395268742 39.37% 64.93% 1.65x ✅
hexbytes_repr[0-9] 0.000028825079827811874 0.00001462591909172803 49.26% 97.08% 1.97x ✅
hexbytes_repr[4-byte pattern] 0.00011984213016756514 0.00004067930289208429 66.06% 194.60% 2.95x ✅
hexbytes_repr[all byte values] 0.00012004712122885117 0.000040773516307193936 66.04% 194.42% 2.94x ✅
hexbytes_repr[alternating 0x00/0xff] 0.00004868144496990278 0.000019869444002041712 59.18% 145.01% 2.45x ✅
hexbytes_repr[alternating 0xaa/0x55] 0.000048957347732952424 0.000020525366746877697 58.08% 138.52% 2.39x ✅
hexbytes_repr[ascii sentence] 0.000041110697892400565 0.00001790508422298452 56.45% 129.60% 2.30x ✅
hexbytes_repr[b''] 0.000021418122723966044 0.000012227495266474823 42.91% 75.16% 1.75x ✅
hexbytes_repr[b'\\x00'*32] 0.00003699847783753015 0.00001688488242739341 54.36% 119.12% 2.19x ✅
hexbytes_repr[b'\\x00\\xff\\x00\\xff'] 0.000026580848978023583 0.00001407035800000868 47.07% 88.91% 1.89x ✅
hexbytes_repr[b'\\x01'*100] 0.00006140153053208738 0.000023225061462901604 62.18% 164.38% 2.64x ✅
hexbytes_repr[b'\\x01'*2048] 0.0007625920228881653 0.00022421665569503306 70.60% 240.11% 3.40x ✅
hexbytes_repr[b'\\x01\\x02\\x03'] 0.000026185297442407297 0.000014171192912736833 45.88% 84.78% 1.85x ✅
hexbytes_repr[b'\\x10\\x20\\x30\\x40\\x50'] 0.00002702169674257368 0.000013910806970764595 48.52% 94.25% 1.94x ✅
hexbytes_repr[b'\\x7f'*8] 0.000028406596376501872 0.000014406447559934623 49.28% 97.18% 1.97x ✅
hexbytes_repr[b'\\x80'*8] 0.000028290382655181194 0.000014308995635835175 49.42% 97.71% 1.98x ✅
hexbytes_repr[b'\\xde\\xad\\xbe\\xef'] 0.000026551665651238964 0.000013963315480618858 47.41% 90.15% 1.90x ✅
hexbytes_repr[b'\\xff'*64] 0.00004897828973426215 0.00002008078509269233 59.00% 143.91% 2.44x ✅
hexbytes_repr[b'a'*1024] 0.00039862183187353907 0.00011966284098425739 69.98% 233.12% 3.33x ✅
hexbytes_repr[b'abc'] 0.00002643040015463465 0.000014117981153816617 46.58% 87.21% 1.87x ✅
hexbytes_repr[long alternating] 0.0003995250370085944 0.0001228129162735458 69.26% 225.31% 3.25x ✅
hexbytes_repr[mixed pattern] 0.00009767655488392068 0.000033864402659100994 65.33% 188.43% 2.88x ✅
hexbytes_repr[multiples of 0x10] 0.000028895106802892594 0.000014650986429839413 49.30% 97.22% 1.97x ✅
hexbytes_repr[palindrome ascii] 0.000027475347262705398 0.00001420041698689769 48.32% 93.48% 1.93x ✅
hexbytes_repr[palindrome numeric] 0.000027131338657480766 0.000014058062808600106 48.19% 92.99% 1.93x ✅
hexbytes_repr[palindrome] 0.000032073255474874745 0.00001582612258736377 50.66% 102.66% 2.03x ✅
hexbytes_repr[repeated 0-9] 0.00006142871430394855 0.00002324746149776007 62.16% 164.24% 2.64x ✅
hexbytes_repr[single 0xff] 0.000025660550218072816 0.000013651579259803986 46.80% 87.97% 1.88x ✅
hexbytes_repr[single null byte] 0.000025526134700896673 0.000013608264909034895 46.69% 87.58% 1.88x ✅
hexbytes_repr[two patterns] 0.00004903636914962931 0.000019914928272957866 59.39% 146.23% 2.46x ✅
hexbytes_to_0x_hex[0-9] 0.0000155756308876488 0.00001366026986439676 12.30% 14.02% 1.14x ✅
hexbytes_to_0x_hex[4-byte pattern] 0.000042386635970576424 0.00003965912828280361 6.43% 6.88% 1.07x ✅
hexbytes_to_0x_hex[all byte values] 0.000042287020968599744 0.00003988795119060099 5.67% 6.01% 1.06x ✅
hexbytes_to_0x_hex[alternating 0x00/0xff] 0.00002070702047345421 0.000018736395860746982 9.52% 10.52% 1.11x ✅
hexbytes_to_0x_hex[alternating 0xaa/0x55] 0.000020827354918184563 0.000018822240973172826 9.63% 10.65% 1.11x ✅
hexbytes_to_0x_hex[ascii sentence] 0.000018847612613815285 0.000016827945843588096 10.72% 12.00% 1.12x ✅
hexbytes_to_0x_hex[b''] 0.00000985185058371705 0.000011304885685582362 -14.75% -12.85% 0.87x ❌
hexbytes_to_0x_hex[b'\\x00'*32] 0.00001772341503579258 0.000016039100053691427 9.50% 10.50% 1.11x ✅
hexbytes_to_0x_hex[b'\\x00\\xff\\x00\\xff'] 0.00001519913510216965 0.00001307535969635717 13.97% 16.24% 1.16x ✅
hexbytes_to_0x_hex[b'\\x01'*100] 0.000025672483981831978 0.000022248001027719147 13.34% 15.39% 1.15x ✅
hexbytes_to_0x_hex[b'\\x01'*2048] 0.00022267887058332423 0.000222326048629766 0.16% 0.16% 1.00x ✅
hexbytes_to_0x_hex[b'\\x01\\x02\\x03'] 0.000014858667729615045 0.00001306797347918281 12.05% 13.70% 1.14x ✅
hexbytes_to_0x_hex[b'\\x10\\x20\\x30\\x40\\x50'] 0.000014942762847672072 0.000012882749820383416 13.79% 15.99% 1.16x ✅
hexbytes_to_0x_hex[b'\\x7f'*8] 0.000015534354263588697 0.000013570921767073945 12.64% 14.47% 1.14x ✅
hexbytes_to_0x_hex[b'\\x80'*8] 0.000015249846518323128 0.000013538278691483556 11.22% 12.64% 1.13x ✅
hexbytes_to_0x_hex[b'\\xde\\xad\\xbe\\xef'] 0.000014967546277347897 0.00001322892930579876 11.62% 13.14% 1.13x ✅
hexbytes_to_0x_hex[b'\\xff'*64] 0.00002075960000832649 0.000018878332637265098 9.06% 9.97% 1.10x ✅
hexbytes_to_0x_hex[b'a'*1024] 0.00012275235830845843 0.00012152188073777782 1.00% 1.01% 1.01x ✅
hexbytes_to_0x_hex[b'abc'] 0.000014812746128559686 0.000012958491406847289 12.52% 14.31% 1.14x ✅
hexbytes_to_0x_hex[long alternating] 0.0001226391289463926 0.0001222248803932079 0.34% 0.34% 1.00x ✅
hexbytes_to_0x_hex[mixed pattern] 0.00003493471577598632 0.000033033692448480466 5.44% 5.75% 1.06x ✅
hexbytes_to_0x_hex[multiples of 0x10] 0.000015722534853416242 0.000013718281402769306 12.75% 14.61% 1.15x ✅
hexbytes_to_0x_hex[palindrome ascii] 0.000015144949878180168 0.000013167413750222527 13.06% 15.02% 1.15x ✅
hexbytes_to_0x_hex[palindrome numeric] 0.00001511586690746923 0.000013022429850276143 13.85% 16.08% 1.16x ✅
hexbytes_to_0x_hex[palindrome] 0.000016623791494326057 0.00001488075601393993 10.49% 11.71% 1.12x ✅
hexbytes_to_0x_hex[repeated 0-9] 0.000025140309916948573 0.000022287017239579605 11.35% 12.80% 1.13x ✅
hexbytes_to_0x_hex[single 0xff] 0.00001468923347679877 0.000012783898877120629 12.97% 14.90% 1.15x ✅
hexbytes_to_0x_hex[single null byte] 0.00001470711183123332 0.000012638156794468888 14.07% 16.37% 1.16x ✅
hexbytes_to_0x_hex[two patterns] 0.000020635274875547943 0.00001880753100392634 8.86% 9.72% 1.10x ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant