Re: [oe] any reason to not cache `opkg list`?

2010-11-25 Thread AJ ONeal
r...@quokka:~# time opkg list /dev/null real0m 2.78s user0m 2.50s sys 0m 0.26s Ok, so its not the quickest. Opkg has to read in the package info and parse it each time. What is your use case for needing to call 'opkg list' so frequently that this becomes painful? I often

Re: [oe] any reason to not cache `opkg list`?

2010-11-21 Thread Graham Gower
On 20 November 2010 09:48, AJ ONeal coola...@gmail.com wrote: My assumption is that the only time the results of `opkg list` will change is after `opkg update`. Is that correct? If so, why not have `opkg update` generate the output which `opkg list` produces such that `opkg list` is

[oe] any reason to not cache `opkg list`?

2010-11-20 Thread AJ ONeal
My assumption is that the only time the results of `opkg list` will change is after `opkg update`. Is that correct? If so, why not have `opkg update` generate the output which `opkg list` produces such that `opkg list` is instantaneous? AJ ONeal ___