[Prototype-core] Re: $H({}).get('__proto__') in Firefox =)

2009-09-14 Thread Yaffle

There is an issue with Hash#toObject method...

I think, Ajax.Base#parameters can be Hash instead of object to avoid
call to Hash#toObject...

--~--~-~--~~~---~--~~
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 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[Prototype-core] Re: $H({}).get('__proto__') in Firefox =)

2009-09-14 Thread kangax

On Sep 14, 6:18 am, Tobie Langel tobie.lan...@gmail.com wrote:
  Sorry, I'm not following. How does prefixing a key avoid object
  creation? We can't inject stuff directly onto a hash instance. We
  still need an object for that.

 Not necessarily. Though that might make some requests more expensive.

Sorry, I'm not following again :) What's not necessary? Which requests
will be more expensive?

--
kangax
--~--~-~--~~~---~--~~
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 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---