mapbox/carto

Nested regex can cause extremely slow generation times and longer xml

Offen

#213 geöffnet am 13.12.2012

 (13 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (132 Forks)auto 404
bughelp wantedperformance

Repository-Metriken

Stars
 (658 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

As a particularly noticeable example is the TileMill example open-streets-dc where converting two sections with the widths to regex, or even just changing a few lines from = to =~ gives significantly different results. https://github.com/tilemill-project/tilemill/blob/master/examples/open-streets-dc/highway.mss#L119 is an example line to change to get the difference.

I'm using Carto 0.9.4.

Contributor Guide