Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
swolchok
on Dec 23, 2009
|
parent
|
context
|
favorite
| on:
Portrait of a Noob
1) That's not a multi-dimensional array, that's a one-dimensional array simulating a multi-dimensional array.
2) Why not
arr[n1 + i][n2 + j][n3 + j] = calc_foo(i,j,k)
? It's a bit more work to write the proxy classes, but a Sufficiently Smart Compiler(TM) can make that all go away for you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
2) Why not
? It's a bit more work to write the proxy classes, but a Sufficiently Smart Compiler(TM) can make that all go away for you.