Speedup foldl over bytes #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "optimize_fold_bytes_inline_subscript_bytes_call"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prior to this PR, the compiler would call stdlib.types's
subscript_bytes.
However, that function performs some checks we do not need.
After this MR, folding iterates directly over the bytes
memory, saving the memory access checks and the function
calls. This gets us a speedup of about 43% less CPU time
used on Firefox.
Also, by default, the CRC32 page runs a shorter timing test.