Re:My personal C coding style as of late 2023
by adrianN on Monday October 09, 2023 @08:46AM
(#37819880)
How does it improve locality?
[ Parent
| on HN ]
Re:My personal C coding style as of late 2023
by rocqua on Monday October 09, 2023 @09:00AM
(#37820026)
More 'pointers' (32 bit offset ints) fit on a single cache line. Or, put differently, a list off offsets is half as long amd hence everything om the list is twice as close to everything else on the list.