Yes, I finally implemented it. :-D<br><br>Please note that this is just the initial design. If you don't like the API design, or anything in particular, please tell me!<br><br>I've debugged it, and it seems to running okay, but I'll test it more thoroughly, and benchmark it later. For what it's worth, it seems to be somewhat faster. <br>
<br>There is one obvious bug in the implementation which I've highlighted. There are ways to fix it, but that would make the code messier than it already is, and AFIAK it currently isn't a problem, but it could be in the future.<br>
<br>- Vishesh Handa<br><br>