jQuery Minute™

…a jQuery Minute™ later and you're done!



Performance Tuning Regular Expressions in JavaScript

with one comment

Doug D started a thread on the google groups jQuery developer list about a faster trim method he ran across and how counter intuitively it was better to run two expressions rather than one. Matt Kruse then provided a link to a great article on the subject: http://blog.stevenlevithan.com/archives/faster-trim-javascript

The origional thread can be found here (I couldn’t find it at the time of the writing but I’m sure it’s there!): http://www.nabble.com/forum/Search.jtp?forum=20161&local=y&query=faster+trim 

Written by jdsharp

January 18th, 2008 at 9:55 am

Posted in JavaScript

One Response to 'Performance Tuning Regular Expressions in JavaScript'

Subscribe to comments with RSS or TrackBack to 'Performance Tuning Regular Expressions in JavaScript'.

  1. jdsharp

    18 Jan 08 at 9:56 am

Leave a Reply