[bt-devel] Bookmarks saving
Martin Gruner
mg.pub at gmx.net
Wed Nov 25 08:49:43 MST 2009
Why not save every time a bookmark is added/updated/deleted?
mg
Am Mittwoch, 25. November 2009 16:47:09 schrieb Raoul Snyman:
> On Wednesday 25 November 2009 17:23:32 Eeli Kaikkonen wrote:
> > I mean, what are those consecutive calls? I didn't notice any. And if
> > there are, there might be a better way to handle them than continual
> > polling.
>
> What about a pseudo-timer mechanism? Only save bookmarks after X
> seconds/minutes. Basically, have a variable that keeps the last saved time,
> and then if you change anything it looks at the last saved time. Then if
> that time is more than, let's say, 10 seconds ago, it saves the bookmarks.
> When it saves them, it updates the time variable, of course.
>
> Just a thought...
>
More information about the bt-devel
mailing list