MCPcopy Create free account
hub / github.com/esengine/esengine / compactAllPools

Method compactAllPools

packages/core/src/Utils/Pool/PoolManager.ts:107–111  ·  view source on GitHub ↗

* 压缩所有池

()

Source from the content-addressed store, hash-verified

105 * 压缩所有池
106 */
107 public compactAllPools(): void {
108 for (const pool of this.pools.values()) {
109 pool.compact();
110 }
111 }
112
113 /**
114 * 清空所有池

Callers 1

updateMethod · 0.95

Calls 2

valuesMethod · 0.45
compactMethod · 0.45

Tested by

no test coverage detected