Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bugake
· 1mo ago · 0 comments
The fastest algorithms I can make for many problems use bit hacking. It works in x86, but it's technically undefined behavior.
Comments
[–]
davemp
1mo ago
Often that’s just implementation defined behavior which is perfectly safe. You should just put some compilation guards to error out if someone tries to port your code.