Y
Hacker News
new
|
ask
|
show
|
jobs
by
PeterisP
3175 days ago
If you do that, every access will actually dereference that pointer and won't be able to optimize the standard style indexing to a multiplication and addition, so this still carries a significant performance cost.