title: How fast/slow is the glGetUniformLocation call?
body: <p>Right before setting any uniform parameter to the shader, I am using glGetUniformLocation to retrieve its position instead of doing it once in the begining and storing the int position value. Like this::</p>
  
  <pre><code>const int location = glGetUniformLocation(program, name.c_str());
  glUniform4fv(location, 1, &amp;v.x);
  </code></pre>
  
  <p>Would it considerably affect my performance?</p>