Monday, March 12th, 2007

Prototype 1.5.1 release candidate released

Category: Announcements, JavaScript, JSON, Prototype

Sam and the team have put out a Prototype 1.5.1 release candidate available to download here.

One of the good changes is a sign of good community. Prototype was inspired by the CSS selector performance data that Jack Slocum and others have been talking about.

Now $$/Selector is up to 5 times faster depending on the task / browser.

New features and changes

Performance improvements

  • $$ is now blazing fast. Seriously—try it out. If you’re using $$ at all, you owe it to yourself to upgrade! Element#down, Element#up, Element#previous and Element#next received performance boosts too (along with everything else that uses Selector).
  • Element#getStyle and Element#setStyle are now faster.
  • Array#uniq is faster. [#7417]
  • String#escapeHTML now uses a cached div and text node, making it much faster. [#6937]
  • Enumerable iteration is faster now that it incurs only one try/catch block instead of two (as a result of removing support for $continue).

Posted by Dion Almaer at 7:50 am

3.8 rating from 43 votes


Comments feed TrackBack URI

Nice piece of work … but it will be very to to see cool widget framework using prototype. I actually sometime use prototype as utilities not as required framework.
That’s why I’m still using Yahoo UI + YUI-Ext because of all professionnal look.

Comment by Nicolas — March 12, 2007

If you were to check out some of the examples from here ( you’ll notice that Ext looks to have support for Prototype

Comment by Sam — March 12, 2007


Comment by Giovambattista Fazioli — March 12, 2007

I’ll wait for John-David Dalton to work some more compression magic :)

Comment by Cody Swann — March 12, 2007

I’m workin on it 8)

Comment by jdalton — March 12, 2007

And now 1.5.1_rc2 is out:

Comment by Anonymous — March 12, 2007

Protopressed_v2c is out: It has compressed forms of 1.5.1_rc2. Smallest is 17kb (gzipped), second to 25.4kb ultra compressed.

Comment by jdalton — March 13, 2007

Still no support for sub-second intervals in PeriodicalExecutor? That’s kind of annoying. There’s a patch, but I have to apply it every time I upgrade…

Comment by CrackWilding — March 14, 2007

Leave a comment

You must be logged in to post a comment.