> 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.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp