xeolabs/scenejs — pull request #305 by Oletus (2014-06-09 12:11:49+00:00)
Title: Cache custom uniforms values to avoid setting them redundantly

Optimization is applied only to uniforms whose value is of type number in JS. Extending this to vector and matrix uniforms would be possible, but the returns are smaller.