<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 1, 2013 at 7:06 PM, duncan smith <span dir="ltr"><<a href="mailto:buzzard@invalid.invalid" target="_blank">buzzard@invalid.invalid</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I have an implementation that you can try out. It's not based on any other implementation, so my bugs will be independent of any bugs in the code you're currently using. It looks more like a set - add, remove, discard. Not tried on Python 3 or run through pylint. I just tried adding a million items to a tree, and it takes about 25% longer to add items at the end compared to those at the beginning. Timing removals uncovered a bug. So if you want the code I'll fix the bug and send it (to your gmail e-mail address?). Cheers.<span class=""><font color="#888888"><br>

<br>
Duncan<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br>What license?<br><br>Thanks!<br><br></div></div>