[Bug 41772] TP Logger: Introduce TplEventWalker
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 11 01:13:07 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=41772
--- Comment #9 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2012-07-10 23:13:07 UTC ---
Maybe it's another crazy idea, but we could leave the caching to empathy by
having bidirectional iterator. Empathy would create two iterator (tailIt,
headIt). With headIt it would read a certain amount of information (the amount
it wants to be cached. The iterator would have a method to go forward or
backward without transfering the data. So if you want to go forward, you query
n element from headIt, and advance tailIt of same amount of event.
This could also serve an internal design, as this might be too complicated. The
Walker could be considered a cache, initialize with a cached size, and event
list being accessible uppon request.
I definitely need to think about it, Guillaume, what did we concluded initially
?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list