On 7 March 2016 at 22:49, Matteo Bruni matteo.mystral@gmail.com wrote:
Yes, I guess returning TRUE is usually more likely to work. Of course
Is that necessarily what you want though? It might be harder to debug something being slow because it's updating unused parameters than to debug something rendering incorrectly because it's not updating them.
a proper implementation would be even better (although it may be non obvious to find out if a parameter is used, depending on what "used" really means - it needs tests)...
You always need tests, but a reasonable guess would be whether the parameter is referenced by the technique.