Zaun
Zaun
However, webgpu provides compute shaders for concurrent gpu computing. The v8 version of pixi does not introduce compute shaders, but provides support for webgpu. Emmm, that's all I can mention.
1. Under the v8 engine specification, querying and storing using weakmap is much slower than an object without a prototype 2. Even if you use weakmap here, then it is...
> 你好 > > > 1. 在 v8 引擎规范下,使用 weakmap 查询和存储比没有原型的对象慢得多 > > 我可以要求提供规范中说明这一点的那部分的链接吗?另外,我还要指出,它不像依赖于 GC 逻辑。也就是说,如果你做一个基准测试,我也可以重新设计它以在逻辑对象上使用 a 来存储对象,这将实现几乎相同的结果(除了使方法根本不可能),或者使用 .`WeakMap``WeakRef``Symbol``destroyAll``FinalizationRegistry` > > > 2. 即使你在这里使用weakmap,那么它也只会在各种系统中被取消引用,并且不能保证所有的缓冲区和纹理都不会在其他地方被引用。现代垃圾回收系统不再由计数引用标记,而是仅在对象完全无法访问时才被收集。 > > 这里有两点需要解决:我在这些地方使用 WeakMap,因为它们是唯一直接包含对底层 WebGL/WebGPU 资源的引用的地方。Pixi.js本身不会在其他地方引用这些缓冲区或纹理对象。这意味着,除非库使用者手动挖掘系统并访问这些_私有_属性,否则不会再有对它们的引用,并且在匹配的逻辑/类被...
Things seem to be getting interesting, friend, just adding a few lines of code to correct glbuffer leaks without using weakmap For each mesh class if(mesh._geometry){ // destroy gpu buffer...
是啊,全是切换错误,用隔壁的clash party都没这个问题
Addressed the review feedback. I replaced the unsupported `bun pm ls -g` lookup with a supported derivation from `bun pm bin -g`, falling back to the cache location (`/install/global/node_modules`). I...
Rebased the branch onto the latest upstream `main` via synced fork `main` and force-pushed with `--force-with-lease`; the changelog conflict should be resolved now. Verification after rebase: - `bun test packages/coding-agent/test/update-cli.test.ts`...
Corrected the PR scope and updated the branch. What changed: - reproduced the same bug on native Windows 11 + Windows Terminal, not just WSL - kept the earlier WSL...
Updated the PR branch again: - rebased onto the latest `main` - corrected the scope from WSL-only to Windows Terminal (native Windows + WSL) - preserved the earlier WSL eager-rebuild...
Rebased onto the latest `main` again and force-pushed the branch to clear the conflict banner. Current head: `b2939de0b` Re-verified after rebase: - `bun test packages/tui/test/render-regressions.test.ts -t "native Windows Terminal|WSL Windows...