I can add const bool variable UsesSeed to all shapes.
And check it before calling GetHeap()->StringHashSeed() , that'll definitely be optimized by most of C++ compilers (unused arguments are optimized only by g++,
as bnoordhuis told me).

What do you think?

http://codereview.chromium.org/9148006/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to