[gentoo-dev] New global USE flag: gzip-dict

2008-12-16 Thread Peter Volkov
Hello. Some time ago I've modified stardict.eclass and added optional possibility based on 'gzip' USE flag to compress index and dict data files. But I realized too late that I need to document this USE flag somewhere, and since it'll do similar things for all stardict-* dictionaries (heh, more th

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-16 Thread Ciaran McCreesh
On Tue, 16 Dec 2008 22:21:16 +0300 Peter Volkov wrote: > Some time ago I've modified stardict.eclass and added optional > possibility based on 'gzip' USE flag to compress index and dict data > files. But I realized too late that I need to document this USE flag > somewhere, and since it'll do simi

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-16 Thread Doug Goldstein
Ciaran McCreesh wrote: On Tue, 16 Dec 2008 22:21:16 +0300 Peter Volkov wrote: Some time ago I've modified stardict.eclass and added optional possibility based on 'gzip' USE flag to compress index and dict data files. But I realized too late that I need to document this USE flag somewhere, an

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-16 Thread Peter Volkov
В Втр, 16/12/2008 в 19:27 +, Ciaran McCreesh пишет: > What's the point of having this as an option at all? Is it really > something that affects the end user in any way? The reason is that this feature requires additional dependency on app-text/dictd package (to compress dictionary data dictzi

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-17 Thread Donnie Berkholz
On 23:06 Tue 16 Dec , Peter Volkov wrote: > В Втр, 16/12/2008 в 19:27 +, Ciaran McCreesh пишет: > > What's the point of having this as an option at all? Is it really > > something that affects the end user in any way? > > The reason is that this feature requires additional dependency on >

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-19 Thread Peter Volkov
В Срд, 17/12/2008 в 16:34 -0800, Donnie Berkholz пишет: > Is that some huge package that takes an unreasonable amount of time to > build or space to install? Probably in this case it takes reasonable amount of time... > If not, this doesn't seem like a very meaningful choice to me. Well, your

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-19 Thread Ciaran McCreesh
On Fri, 19 Dec 2008 17:40:41 +0300 Peter Volkov wrote: > Well, your questions forced me to do my own investigation of gzip > performance in one real-life scenario which I hope to use really > soon. I took my Neo FreeRunner and tested gzip decompression speed > there. Time to read 10Mb file is abou

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-19 Thread Peter Volkov
В Птн, 19/12/2008 в 14:45 +, Ciaran McCreesh пишет: > If it reads (and presumably uncompresses) all of them at startup > anyway, what's the point in compressing them at all? It makes size smaller: both index and data files are text files so compression is very effective. All distributions I've

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-19 Thread Ciaran McCreesh
On Fri, 19 Dec 2008 19:56:02 +0300 Peter Volkov wrote: > В Птн, 19/12/2008 в 14:45 +, Ciaran McCreesh пишет: > > If it reads (and presumably uncompresses) all of them at startup > > anyway, what's the point in compressing them at all? > > It makes size smaller: both index and data files are t

Re: [gentoo-dev] New global USE flag: gzip-dict

2008-12-19 Thread Peter Volkov
В Птн, 19/12/2008 в 17:06 +, Ciaran McCreesh пишет: > But disk space is cheap. How big are the dictionaries? The vim > dictionaries are around half a meg uncompressed, and if you're looking > to save a meg or two in disk space on the kind of system that includes > dictionaries then you're doing