goodpaul6 / Tiny

A very small statically-typed embeddable scripting language.
MIT License
246 stars 16 forks source link

Allocate struct fields in place #4

Closed goodpaul6 closed 5 years ago

goodpaul6 commented 5 years ago

Instead of allocating struct fields separately, just put them all at the end of the Tiny_Object allocation; reduces cache misses and eliminates the need to free structs specially.