refactor: bigger pool

This commit is contained in:
cha0s 2019-04-25 02:17:24 -05:00
parent da446e17d2
commit 810e449012

View File

@ -110,7 +110,7 @@ export class TextNodeRenderer extends Proton.BaseRender {
this.parent = element;
// Start with a warm cache.
if (this.parent && 0 === this.constructor.freeList.length) {
for (let i = 0; i < 200; ++i) {
for (let i = 0; i < 500; ++i) {
const target = new TextNode();
target.createDom();
this.parent.appendChild(target.div);