mapbox/carto

Nested regex can cause extremely slow generation times and longer xml

Ouverte

#213 ouverte le 13 déc. 2012

 (13 commentaires) (0 réaction) (0 personne assignée)JavaScript (132 forks)auto 404
bughelp wantedperformance

Métriques du dépôt

Stars
 (658 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur