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
top 1 comments
sorted by: hot top controversial new old
[–] 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?