Closed Bug 569432 Opened 16 years ago Closed 7 years ago

Optimization in GetUniform: cache the lookup

Categories

(Core :: Graphics: CanvasWebGL, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bjacob, Unassigned)

Details

Not a huge priority as this is "just" a "get"-call, but: our GetUniform function is currently doing a slow for loop over all active uniforms, to find the one with the right name. We could cache the result of that computation. As discussed in bug 565404.

We shouldn't optimize reflection entrypoints like GetUniform.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.