[Webkit-unassigned] [Bug 33268] make JPEG image dcoder read segmented SharedBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 15:08:05 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33268





--- Comment #9 from Yong Li <yong.li.webkit at gmail.com>  2010-01-06 15:08:05 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #5)
> > > (In reply to comment #3)
> > > > (From update of attachment 45993 [details] [details] [details] [details])

> > Oh, I meant in comparison to the pre-segmented-SharedBuffer case where we could
> > perhaps decode the entire image in one shot.
> 
> in that case "buffer" is not used at all. also "segmenting" can be easy to be
> disabled in SharedBuffer::append(). probably I should add #if ENABLE() there
> > 

probably I misunderstood you again. with internally segmented SharedBuffer, we
don't need to maintain a big chunk of memory for the resource data. for perf,
we don't have to move all bytes to a bigger buffer when receiving data from
network. When decoding the image, perf could be a little bit worse.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list