[Webkit-unassigned] [Bug 49637] JSC::UString and WTF::String should use size_t instead of unsigned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 17 23:11:25 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49637


Chris Evans <cevans at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cevans at google.com




--- Comment #3 from Chris Evans <cevans at google.com>  2010-11-17 23:11:25 PST ---
The current use of "unsigned" even on 64-bit seems very deliberate:

StringImpl.cpp:COMPILE_ASSERT(sizeof(StringImpl) == 2 * sizeof(int) + 3 * sizeof(void*), StringImpl_should_stay_small);


Given that we're careful to not truncate lengths, I see costs but not many benefits.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list