Allocate user-data-array on the heap
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 8 May 2018 08:47:05 +0000 (01:47 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 8 May 2018 08:47:05 +0000 (01:47 -0700)
commit16e4ccf7b417f021948643012cbe7641ba02c039
treebb347f6c3ff42b31f534f177ab772327d6f0b880
parent61920b21ca0c632ba58aef95c7f65f409cc0fbd2
Allocate user-data-array on the heap

This saves each object allocation 72 bytes.  Now object overhead is just
16 bytes (on x86) instead of 88 bytes. Neat.
src/hb-object-private.hh