3 ms·
Good luck trying to carefully align your C# arrays so that the length field (at index -1 and read accessed on basically every write) isn't in the same cache lin
by tedunangst 16y ago
Good luck trying to carefully align your C# arrays so that the length field (at index -1 and read accessed on basically every write) isn't in the same cache line as the 0th element the CPU across the bus is writing to.
- barrkel 16y agoThe nice thing about using C# is that you don't need to use an array, if this is critical. With unsafe code, you can all but write C.