Speed up viacode
authorKarl Williamson <khw@khw-desktop.(none)>
Sat, 3 Jul 2010 18:31:54 +0000 (12:31 -0600)
committerJesse Vincent <jesse@bestpractical.com>
Sun, 4 Jul 2010 20:43:44 +0000 (21:43 +0100)
commitf3227b742bc4dd157ecfe2b66fd38e4bb610a4a1
treeb6c724cdc344122c72ff99e60f2ac7c6be854340
parent2974a5b43750a3e186bc3e637d8d3ebbbfe23e07
Speed up viacode

Capturing parentheses greatly slow down regexes, at least here.
On my machine, viacode took 27 seconds for the 22K Unicode names without
capturing parens; 45s with.
lib/charnames.pm