mapbox/carto

Nested regex can cause extremely slow generation times and longer xml

開放

#213 建立於 2012年12月13日

 (13 則留言) (0 個反應) (0 位負責人)JavaScript (132 個分叉)auto 404
bughelp wantedperformance

倉庫指標

星標
 (658 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南