consider adding NS_LIKELY to vtable checks in nsTAString.cpp

RESOLVED WONTFIX

Status

()

Core
String
--
enhancement
RESOLVED WONTFIX
14 years ago
9 years ago

People

(Reporter: Biesinger, Unassigned)

Tracking

({perf})

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

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.

Comment 1

9 years ago
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
Last Resolved: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.