mapbox/carto

Nested regex can cause extremely slow generation times and longer xml

Aberta

#213 aberto em 13 de dez. de 2012

 (13 comentários) (0 reação) (0 responsável)JavaScript (132 forks)auto 404
bughelp wantedperformance

Métricas do repositório

Stars
 (658 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador