Closed
Bug 92477
Opened 23 years ago
Closed 13 years ago
Rewrite ConverterInputStream so that it avoids a copy
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: dougt, Unassigned)
References
Details
(Keywords: perf)
Currently ConverterInputStream uses two buffers - one for the single byte data
from the nsIInputStream, and another for the double byte data that it converts.
We can write right input stream so that it calls ReadSegments on the incoming
inputstream.
This depends on Partial Reads.
Reporter | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.4
Reporter | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Reporter | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla1.0
Reporter | ||
Comment 1•23 years ago
|
||
to darin. This should be changed along with the changes to support partial
reads
Assignee: dougt → darin
Comment 2•23 years ago
|
||
i don't think this depends on partial reads. it should possible to rewrite the
ConverterInputStream to not require mByteData. instead, as dougt said, it could
call ReadSegments on mInput and convert each segment in the nsWriteSegmentFun
callback. we'd thus eliminate one buffer copy.
Status: NEW → ASSIGNED
No longer depends on: 93055
Priority: -- → P3
Target Milestone: mozilla1.0 → mozilla0.9.9
Updated•22 years ago
|
Target Milestone: mozilla1.0.1 → ---
Updated•18 years ago
|
Assignee: darin → nobody
Status: ASSIGNED → NEW
QA Contact: scc → xpcom
Comment 5•13 years ago
|
||
Does this bug still need a solution? Or can it be marked as fixed?
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•