Reduce closures

This commit is contained in:
be5invis 2022-03-27 12:36:01 -07:00
parent 1f0be761a2
commit f8a104d550
4 changed files with 148 additions and 108 deletions

View file

@ -8,6 +8,9 @@ exports.GlyphStore = class GlyphStore {
this.encodingBackward = new Map();
}
get size() {
return this.nameForward.size;
}
glyphs() {
return this.nameForward.values();
}