avoid GC in signal/effect

This commit is contained in:
Schluffe
2026-08-25 16:21:48 +02:00
parent 05ec3f468d
commit 2bcd072667
8 changed files with 92 additions and 76 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import {
} from "#/engine/Entity.ts";
import { type Graph, getNeighbours } from "#/engine/Graph.ts";
import { box } from "#/engine/lib/box";
import { type Cache, memoize } from "#/engine/lib/cache.ts";
import { memoize } from "#/engine/lib/cache.ts";
import MapArray from "#/engine/lib/MapArray.ts";
export type Process = (ctx: CanvasRenderingContext2D, delta: number) => void;