Javascript Replace looks great, but can be slow
Import
·
Aug 22, 2011
·
article
I recently came across a performance issue with the Javascript "replace" function. When I switched to using the Java string replace function instead my performance jumped incredibly for larger strings (Megabytes).Read more about it....
http://www.john-james-andersen.com/blog/programming/javascript-when-in-doubt-dont-replace.html
View original source
https://www.servicenow.com/community/in-other-news/javascript-replace-looks-great-but-can-be-slow/ba-p/2283709