Re:Ask HN: What are some cool but obscure data structures yo...
by dan-robertson on Saturday July 23, 2022 @04:26AM
(#32201455)
In practice, most js engines these days can ‘recognise’ the ‘class’ of these objects (if you create them from scratch in a few places) and the memory representation would end up with a word for the ‘class’ which says that time is at field 0 and price at 1 and volume at 2, and then the data itself. The main reason is to speed up code that reads the fields rather than memory use.
[ Parent
| on HN ]
There are no comments on this comment yet.