openlayers/ol3 — pull request #1132 by tschaub (2013-10-14 22:47:02+00:00)
Title: Only call moveTo if we are in a new pixel

Rendering performance degrades as the context `lineWidth` increases when calling `lineTo` many times for the same pixel coordinate. This appears to be a widespread performance issue and is very clearly improved by only calling `lineTo` when in a new pixel coordinate.