]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Further clarity and speed cleanups of minibidi:
authorSimon Tatham <anakin@pobox.com>
Wed, 8 Dec 2004 19:07:05 +0000 (19:07 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 8 Dec 2004 19:07:05 +0000 (19:07 +0000)
commitbea88a11d7884381cee872f27d5dbbab58f3377b
tree40a5ffec932fcc0f3831c00df0f08219949607e0
parent469bb1fb6fc9ecc3b6f9fec8e83a36bf7314f4b9
Further clarity and speed cleanups of minibidi:
 - rewrote the reversal loop in flipThisRun to be considerably clearer
 - rewrote leastGreaterOdd and leastGreaterEven as bit-twiddling macros
 - replaced malloc/free with snewn/sfree
 - lost some gratuitous repeat calls of getType on the same character
And most noticeably:
 - got rid of minibidi.h, since it was entirely full of minibidi.c
   internals (including constant data definitions!) and wasn't used
   to provide an external interface at all. Everything in it has
   been folded into minibidi.c.

git-svn-id: http://svn.tartarus.org/sgt/putty@4963 cda61777-01e9-0310-a592-d414129be87e
minibidi.c
minibidi.h [deleted file]