Hi Martin,

Wang Rui has added zlib compression support already.

FYI, the .ive plugin also has zlib compression support, but it's not
on by default.  In testing I've found that data downloaded over http
and local disk favour compressed .ive files, but once the file is in
the cache non compressed is faster.

Robert.

On Mon, Jan 18, 2010 at 6:13 PM, Martin Beckett <[email protected]> wrote:
> Hi wang
> Sorry to break into the thread, but - have you considered using zlib with the 
> binary format ?
> Zlib can read compressed or uncompressed files or streams transparently. In 
> my experience on modern hardware it has no performance hit (the extra CPU 
> balances the reduced data transfer). It also includes routines to verify the 
> data  integrity.
>
> Although you obviously get more compression with the text format there is an 
> issue with writing uncompressed text. Zlib has a no-compression output mode 
> but it writes checksums into the data so you can't edit the resulting text 
> files - a compressed OSG writer would also need a separate raw stream. This 
> wouldn't be a problem for a binary file format.
>
> Zlib is free and released under a very permissive license.
>
> Martin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=22835#22835
>
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to