Closed Bug 824244 Opened 12 years ago Closed 8 years ago

Merge nsDiskCacheBinding and nsDiskCacheStream: less code, less objects, less risk

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: alfredkayser, Assigned: alfredkayser)

References

Details

(Keywords: memory-footprint, perf)

Attachments

(1 file, 1 obsolete file)

Like bug 405407, the nsDiskCacheBinding object always has a nsDiskCacheStreamIO object. Combining these reduces memory fragmentation, reduces code and removes risky pointers.
Assignee: nobody → alfredkayser
Depends on: 405407, 814010
Keywords: footprint, perf
Version: unspecified → Trunk
Attachment #695175 - Attachment is patch: true
In this patch I kept the methods in nsDiskCacheStream.cpp even if moved to the nsDiskCacheBinding class, so show the real differences in code.
Attachment #695175 - Attachment is obsolete: true
No, that one was about merging nsDiskCacheStreamIO and nsDiskCacheStreamOutput.
This is about merging that merged object into nsDiskCacheBinding.
new cache code now
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: