Bug 3771

Summary: GW: Update create_hash_table closer to TOT KJS
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: JavaScriptCoreAssignee: Eric Seidel (no email) <eric>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P4    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 3250    
Attachments:
Description Flags
relatively simple patch, which adds support to create_hash_table as detailed in the bug darin: review+

Description Eric Seidel (no email) 2005-06-30 02:34:51 PDT
This update brings support for the
-n <namespace>
addition as part of KDOM

This also (more importantly) adds support for for parsing more recent hashtable comments (w/o affecting 
support for exiting comments).

The only change left to merge into this file form TOT KJS is support for the separate "string tables" lookup 
for better hashtable memory locality (and possibly perf improvements.  That merger will have to be 
covered by another bug.
Comment 1 Eric Seidel (no email) 2005-06-30 02:36:09 PDT
Created attachment 2712 [details]
relatively simple patch, which adds support to create_hash_table as detailed in the bug
Comment 2 Eric Seidel (no email) 2005-06-30 03:04:31 PDT
Comment on attachment 2712 [details]
relatively simple patch, which adds support to create_hash_table as detailed in the bug

verified all test cases pass
Comment 3 Darin Adler 2005-06-30 08:23:09 PDT
Comment on attachment 2712 [details]
relatively simple patch, which adds support to create_hash_table as detailed in the bug

I'd prefer to roll in the "string tables" change at the same time, myself.

I'm also not fond of comments that say "NEW", since they inevitably become
"OLD" :-)

I also don't like checking in commented-out debugging code.

And it's very strange to use this:

    ".$nameEntries."

when you one could just have said:

    $nameEntries

But these are minor quibbles -- seems fine to land this.
Comment 4 Eric Seidel (no email) 2005-07-01 03:03:51 PDT
I removed the "NEW: " comment when committing.