Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
CJefferson
· 8y ago · 0 comments
No, not in this case. The original function is well defined and has no undefined behaviour (in the case I describe) as it would return before it reached "bad memory". The optimised version is what reaches further through memory (while vectorising).
Comments
[–]
ziedaniel1
8y ago
Oh, good point, I didn't read what you wrote carefully enough.