refactor: bigger pool
This commit is contained in:
parent
da446e17d2
commit
810e449012
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user