Closed Bug 265151 Opened 20 years ago Closed 15 years ago

consider adding NS_LIKELY to vtable checks in nsTAString.cpp

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Biesinger, Unassigned)

References

()

Details

(Keywords: perf)

since in most cases, the vtable of strings will be the canonical one, it seems
to me that the ifs for that should be tagged with NS_LIKELY, to help the compiler.
There are no more checks for string vtable (mVTable has gone), as binary support for old strings has been removed.
=> WONTFIX ?
Yes.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.