Improve charAt
String(…) -> "" + …
Use faster letter of
Set lineCap less often
Use equal() instead of compare() for testing equality
Cast arguments at the beginning of a procedure
Merge pull request #220 from nathan/audit

Performance improvements