yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00837
Re: [svn] r1603 - in trunk: core lib/serialization pkg/dem/Engine/DeusExMachina
> 2. I added .gz support back, please don't remove it:
>
> - I used .gz because files are only a bit bigger, but CPU usage is about 50 smaller
> - so I generted about 2 GB of data with .gz, I'm not going to convert all of them into .bz2, even though it's as simple as
> find -name "*.xml.gz" -exec unp {}; bzip2 {} \; or such.
>
> - if(algorithm::ends_with(simulationFileName,".xml") || algorithm::ends_with(simulationFileName,".xml.bz2")){
> + if(algorithm::ends_with(simulationFileName,".xml") || algorithm::ends_with(simulationFileName,".xml.gz") || algorithm::ends_with(simulationFileName,".xml.bz2"))
> + if(boost::algorithm::ends_with(fileName,".gz")) in.push(iostreams::gzip_decompressor());
>
Hmm, does it mean we are stuck with .gz forever? I think it was in more
places than just those 2 (like qt open dialogue wildcards and so on),
though.
References