Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
microtonal
· 12y ago · 0 comments
In fact, in Java this is the only way to simulate structs as POD rather than paying for the overhead of an array of objects.
Comments
[–]
wging
12y ago
Sorry, POD?
[–]
brendano
12y ago
plain old data
[–]
wging
12y ago
Ah, thanks.
[–]
finnw
12y ago
Not the only way. You can interleave fields in a ByteBuffer.