On 2/7/14 4:40 PM, Kannan Vijayan wrote:
Not hashing the entire string sounds like a collision attack vector.

Are we talking about not using the whole string when computing the hashcode or about not using the whole string for the equality compare on collisions?

It sounded to me like Nicholas was proposing you use a substring or two to compute the hashcode, but still use the whole string to compare if you collide.

To what degree can we share the atoms table between different runtimes?
Would it be possible to have a single shared runtime, with a single
compartment, which holds the atoms for all other compartments in all
other runtimes?

See discussion in bug https://bugzilla.mozilla.org/show_bug.cgi?id=964059

-Boris

_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to