big speed improvement (observable when beautify = false)
authorMihai Bazon <mihai@bazon.net>
Fri, 17 Aug 2012 16:04:23 +0000 (19:04 +0300)
committerMihai Bazon <mihai@bazon.net>
Fri, 17 Aug 2012 16:04:23 +0000 (19:04 +0300)
commitef87c9fd8fafa006146d45ba2a870237a127c9d4
tree766e7507d44f60e9174878065c8ca4ed0363161b
parent901f77047e581c79132f93451f057629788d0e9f
big speed improvement (observable when beautify = false)

who would have thought that str.charAt(str.length - 1) is not a constant,
instant operation?  seems to get slower and slower as the string grows.

0.6s vs. 3s
lib/output.js