Closed Bug 29207 Opened 25 years ago Closed 25 years ago

clean up async stream listener

Categories

(Core :: Networking, defect, P3)

All
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: warrensomebody, Assigned: warrensomebody)

Details

(Keywords: perf)

Attachments

(1 file)

A while back, Ramiro made nsStreamListenerEvent not inherit from PLEvent, but instead allocate one. This was done to work-around the fact that some linuxes can't implement classes with virtual methods that inherit from classes without virtual methods, and then downcast correctly. However, we can instead make the PLEvent be an embedded structure and do the pointer adjustment by hand (e.g. with offsetof), saving an allocation. Since these happen quite frequently, this can be a space/time win.
Keywords: perf
OS: Windows NT → other
Hardware: PC → All
Target Milestone: M16
Moving non-essential, non-beta2 and performance-related bugs to M17.
Target Milestone: M16 → M17
Target Milestone: M17 → M18
fixed
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified
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: