3 ms·
The same reason you probably aren’t adding manual alignment fixes to your code?
by saagarjha 5mo ago
The same reason you probably aren’t adding manual alignment fixes to your code?
- matheusmoreira 5mo agoNo reason at all, then. Because I am manually dealing with alignment in my code. Wrote a lisp, its bytes type supports reading and writing integers at arbitrary locations within the buffer. Test suite exercises aligned and unaligned memory access for every C integer type. Also wrote my own mem* functions, dealing with alignment in those was certainly a fun exercise. It wasn't necessary, I just wanted the performance benefits.