[webkit-dev] Hash tables and unique string identifiers in JavaScriptCore
Geoffrey Garen
ggaren at apple.com
Tue Sep 18 22:32:02 PDT 2012
> Thanks! So is PropertyMapHashTable for properties that have been defined by the user, or is it not that simple?
Yes.
> Apologies. Basically, does the implementation of object property access in the JIT codebase also use strings which have been made unique identifiers in the same way as in the runtime stack? (i.e. can they be assumed equal iff they have the same address).
Yes -- typically, though, if the JIT needs to do a hash lookup, it will pass an Identifier to a C++ helper function.
Geoff
More information about the webkit-dev
mailing list