Skip to content

Commit bbc3ebc

Browse files
committed
StringWalk benchmark: remove global variable access from the loop.
Global variables are being used as if they are "free black holes". They might be even more expensive than actually calling blackHole. But the right thing to do is use local variables and pass them into a black hole at the end of computation.
1 parent 6266dba commit bbc3ebc

File tree

2 files changed

+96
-4
lines changed

2 files changed

+96
-4
lines changed

0 commit comments

Comments
 (0)