Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tedunangst
on July 13, 2010
|
parent
|
context
|
favorite
| on:
It’s Faster Because It’s C
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
on July 14, 2010
[–]
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
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: