Re: Implementing cairo_read_func_t/cairo_write_func_t properly

"Enrico Weigelt, metux IT consult" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On 02.01.2016 20:16, Bernhard Fischer wrote:

> Memory mapping (mmap()) and streaming (independently if buffered or on a file 
> descriptor) are two completely different approaches.

Yeah, but I wonder, what's the benefit of streaming here at all.

The only benefit I see would be scenarios with quite large files /
streams where we already can do something useful with just parts of it.

Images usually are only useful when already downloaded completely. At
that you dont need streaming anymore, as you already have everything
in memory or on-disk.

--mtx
--
Enrico Weigelt,
metux IT consulting
+49-151-27565287
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.