Hacker News new | past | comments | ask | show | jobs | submit login

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.



The 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.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: