Refactored custom attributes handling to use lists to remove massive bottleneck.
Apparently iterating over object properties is dangerous even if that code path is not executed. Stress-testing particles buffers setting showed 60% performance increase (in Chrome) even when there were no custom attributes (and thus custom attributes handling code behind "if ( customAttributes )" was never executed). I suspect this may be caused by some V8 optimization heuristics.
Showing
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
想要评论请 注册 或 登录