openlayers/ol3 — pull request #1926 by fredj (2014-03-31 08:27:12+00:00)
Title: Compute anchor value only once

Because the styles are not mutable the anchor can be cached in `ol.style.Icon`. Otherwise the value is re-computed for every icon and for every frame.