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

Python Dev

21 readers
1 users here now

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 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?