mapbox/carto

Nested regex can cause extremely slow generation times and longer xml

Aperta

#213 aperta il 13 dic 2012

 (13 commenti) (0 reazioni) (0 assegnatari)JavaScript (132 fork)auto 404
bughelp wantedperformance

Metriche repository

Star
 (658 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor