Closed Bug 13080 Opened 25 years ago Closed 25 years ago

nsScriptNameSpaceManager::LookupName(), use a double-byte hashtable?

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: bruce, Assigned: rickg)

Details

nsScriptNameSpaceManager::LookupName() does:
char* name = aName.ToNewCString();
nsGlobalNameStruct* gn = (nsGlobalNameStruct*)PL_HashTableLookup(mGlobalNames,
name);
nsCRT::free(name);

It was suggested that this might be avoided by using a double-byte string hash
function instead of PL_HashString().  This would help avoid the
allocation/deallocation of memory.
Moving all non-DOM[012], non-crash bugs to M15.
Assignee: vidur → rickg
Stealing this one from vidur to make his life easier.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.