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

Method compactAllPools

packages/core/src/Utils/Pool/Pool.ts:222–226  ·  view source on GitHub ↗

* 压缩所有池

()

Source from the content-addressed store, hash-verified

220 * 压缩所有池
221 */
222 public static compactAllPools(): void {
223 for (const pool of this._pools.values()) {
224 pool.compact();
225 }
226 }
227
228 /**
229 * 清空所有池

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.45
compactMethod · 0.45

Tested by

no test coverage detected