• A
    Refactored custom attributes handling to use lists to remove massive bottleneck. · 41eb5006
    alteredq 提交于
    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.
    41eb5006
WebGLRenderer.js 139.7 KB