diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-11 19:06:31 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-11 19:06:31 -0700 |
commit | cd55108944344ecb4f24eae42cab72ed93696c0d (patch) | |
tree | c959c1141c6cce69e032341892846db52577887b /tools/js-optimizer.js | |
parent | 86aa2d0352d39244a5f3c0ba26fc1a0a0e10d746 (diff) | |
parent | 17124d96b9c03736be32e897e2ad701a4996bc8f (diff) |
Merge pull request #1362 from dtc/obj-name
Replace the 'scan' function, which maps a WebGL object to anassociated integer id, with a 'name' property stored on the object. The linear scan was rather slow, and as the vector grew in size games were slowing to a few fps.
Diffstat (limited to 'tools/js-optimizer.js')
0 files changed, 0 insertions, 0 deletions