function MonarchLineStateFactory(maxCacheDepth) {
            this._maxCacheDepth = maxCacheDepth;
            this._entries = Object.create(null);
        }
Reuse the same line states up to a certain depth.