Closed andyburke closed 10 years ago
Also, attempts to avoid a string allocation by using slice() instead of replace(). (Who knows if JS will actually avoid the allocation, but it should if it's smart.)
Made your suggested changes.
Also, attempts to avoid a string allocation by using slice() instead of replace(). (Who knows if JS will actually avoid the allocation, but it should if it's smart.)