johnmccutchan/spectre — pull request #146 by Fox32 (2014-08-01 11:50:08+00:00)
Title: Avoid using getParameter in setConstant

We already know about the current program that is in use. So we can skip calling getParameter here, doing it for every constant is not a good idea. In general we should not call getParameter as it slow.