Closed Bug 409451 Opened 17 years ago Closed 17 years ago

TT: Remove now-defunct Multiname class to save 1k of code

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stejohns, Assigned: stejohns)

Details

Attachments

(1 file)

The Multiname class was only being used to store the contents of a QName in Tamarin-Tracing. Rewriting most of QName in AS3 code, and sotring an explicit Name/NamespaceSet/Flags, allows us to remove the Multiname class and two subclasses, saving about 1k of compiled code.
Attached patch patchSplinter Review
Attachment #294260 - Flags: review?(edwsmith)
Attachment #294260 - Flags: review?(treilly)
Comment on attachment 294260 [details] [diff] [review] patch Should we create a followup bug for consolodating and scrubbing the verbose-formatting code? (maybe including removing PrintWriter and friends in favor of a printf() style interface?) do we still need QName_private__newQName() as a dedicated function or is there another existing native method that does the same thing: classself->newObject()
Attachment #294260 - Flags: review?(edwsmith) → review+
Re: newQName, yeah, there are several redundant native functions for doing this that could be consolidated into one. I'll do that in a future checkin. Re: followup bug, sure, entered as https://bugzilla.mozilla.org/show_bug.cgi?id=410505
pushed as 270:0693b5c81a84
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Attachment #294260 - Flags: review?(treilly) → review+
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: