Hi Volker, On 17 Jan., 19:28, Volker Braun <vbraun.n...@gmail.com> wrote: > As far as implementation goes, you just have to put every newly-generated > entry also in a fixed-size ring buffer.
Sure, this is what I had imagined (although I didn't know the word "ring buffer"). > I don't think that this would incur > measurable overhead. Creating a new entry in the dictionary would be slower, because you need to update the ring buffer. But reading an entry from the dictionary would not change. And that's good, because the purpose (as much as I understand) of TripleDict is to have optimized reading speed. Cheers, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org