openlayers/ol3 — pull request #2624 by gingerik (2014-08-26 06:34:32+00:00)
Title: Fix potentially exceeding call stack limit

For very large WKT strings, the iterations inside the parser _may_ cause the call stack run into its limit.
This PR fixes this by a simple rewrite, that also improves the speed significantly!