[ot-map] Micro-optimize for size
This commit is contained in:
parent
93f3a9dbc6
commit
4b8d8fbee4
|
@ -92,11 +92,11 @@ struct hb_ot_map_t
|
||||||
{
|
{
|
||||||
hb_memset (this, 0, sizeof (*this));
|
hb_memset (this, 0, sizeof (*this));
|
||||||
|
|
||||||
features.init ();
|
features.init0 ();
|
||||||
for (unsigned int table_index = 0; table_index < 2; table_index++)
|
for (unsigned int table_index = 0; table_index < 2; table_index++)
|
||||||
{
|
{
|
||||||
lookups[table_index].init ();
|
lookups[table_index].init0 ();
|
||||||
stages[table_index].init ();
|
stages[table_index].init0 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void fini ()
|
void fini ()
|
||||||
|
|
|
@ -84,6 +84,9 @@ struct hb_vector_t
|
||||||
allocated = length = 0;
|
allocated = length = 0;
|
||||||
arrayZ = nullptr;
|
arrayZ = nullptr;
|
||||||
}
|
}
|
||||||
|
void init0 ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void fini ()
|
void fini ()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue