Hi all, I just read the interesting Steve Levithan''s post regarding the strip function, so I wrote an improved version. You can find my benchmark results at related post: http://lucaguidi.com/2008/5/28/faster-javascript-trim And the related Lighthouse ticket: http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/123-string-strip-perfomances-enhancement What do you think about? Luca -- blog: www.lucaguidi.com Pro-Netics: www.pro-netics.com Sourcesense - making sense of Open Source: www.sourcesense.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---