Re: [v8-users] Is there a way out from dictionary mode?

2018-02-14 Thread Jakob Kummerow
> > I think I understand what you mean. Dictionary mode is faster when you > want to use your object like a dictionary. > More generally, dictionary mode is faster for adding/removing/reconfiguring properties (and, depending on circumstances, sometimes also for reading/writing existing properties

Re: [v8-users] Is there a way out from dictionary mode?

2018-02-14 Thread Greg Rosenbaum
Thanks for the reply! I think I understand what you mean. Dictionary mode is faster when you want to use your object like a dictionary. However, if I were to delete a property of some important prototype lots of objects use, I'm guessing that would cause performance issues in the whole applica

Re: [v8-users] Is there a way out from dictionary mode?

2018-02-14 Thread Jakob Kummerow
Probably not. There are exceptions, but I'm hesitating to be specific because these are internal implementation details that can and will change over time. Also, "fast" is relative. Dictionary mode exists because it is faster for some operations. Shape-tracked objects are faster for other situatio