[ot-map] Micro-optimize for size
diff --git a/src/hb-ot-map.hh b/src/hb-ot-map.hh
index 31a44c7..efc8cae 100644
--- a/src/hb-ot-map.hh
+++ b/src/hb-ot-map.hh
@@ -92,11 +92,11 @@
{
hb_memset (this, 0, sizeof (*this));
- features.init ();
+ features.init0 ();
for (unsigned int table_index = 0; table_index < 2; table_index++)
{
- lookups[table_index].init ();
- stages[table_index].init ();
+ lookups[table_index].init0 ();
+ stages[table_index].init0 ();
}
}
void fini ()
diff --git a/src/hb-vector.hh b/src/hb-vector.hh
index e6bb7d2..f55ec46 100644
--- a/src/hb-vector.hh
+++ b/src/hb-vector.hh
@@ -84,6 +84,9 @@
allocated = length = 0;
arrayZ = nullptr;
}
+ void init0 ()
+ {
+ }
void fini ()
{