Re: [Tracker] ANNOUNCE: tracker 0.6.91 released



Jamie McCracken wrote:
Whilst its not tremendously urgent, the optimal solution AFAICT is to
have an in memory stat table

Basically calc stats once at startup and then increment/decrement as you
index

You could recalc stats after removing a volume or hold stats by volume
which would allow you to avoid that

Anyway I think thats better than say calc stats continuously especially
as applet requests stats every few seconds if you have the stat window
open

Eeek, why?

We have a signal which updates the stats when they change. Why would we want to get the stats every few seconds? Makes more sense to just update the ones that changed and only request the stats once.

We can probably optimize things a bit here in the daemon too, but it sounds like the applet is really inefficient here.

--
Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]