Hello, I'd like to point you at this ticket : http://dev.rubyonrails.org/ticket/8757
Based on my reading of http://blog.stevenlevithan.com/regular-expressions/faster-trim-javascript/ (I didn't benchmark the implementations myself), I'd liek to suggest a replacement for the current strip() method : this.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); Instead of the actual implementation which is : this.replace(/^\s+/, '').replace(/\s+$/, ''); Thanks, Moal Jean-Philippe PS : I'm new on this list, sorry if this isn't the actual development discussion process. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---