this post was submitted on 08 Nov 2023
2 points (100.0% liked)

Python Dev

1 readers
1 users here now

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] CameronDev@programming.dev 1 points 1 year ago

The random ascii vs random s/p character is definitely just branch prediction. For random ascii the most common branch is "do nothing", so easier to branch predict. Not sure why the original author was unsure?