Setting the same value with setAttribute() (version: 6)
Is checking the current value of an attribute with getAttribute() better than setting the same value with setAttribute() over and over.
Comparing performance of:set the same value vs check and set nothing vs check and set a new value vs set a new value vs check cache and set nothing vs check cache and set a new value vs check and set the same value