Hacker News new | ask | show | jobs
by trealira 731 days ago
Something funny is that GCC may compile your code that uses pointer arithmetic into one that uses an index register, and compile your code that uses an index into an array as pointer arithmetic.

https://godbolt.org/z/9KPnnM7Po