inline unicode()

Harri Porten khtml-devel@kde.org
Tue, 11 Mar 2003 01:13:58 +0100 (CET)


Hi !

I'm still wondering why JavaScriptCore code replaced usage of the inlined
UChar function

  unsigned short unicode() const { return uc; }

with direct access to the (previously private) uc member. Those changes
have made their way into kjs now but I'm tempted to go back to unicode()
usage unless someone has a proof that this change brought an improvement.
If two solutions are equally fast the more elegant one should be preferred
IMO.

Harri.