John Naylor <johncnaylo...@gmail.com> writes: > We can do about as well simply by changing the nibble lookup to a byte > lookup, which works on every compiler and architecture:
I didn't attempt to verify your patch, but I do prefer addressing this issue in a machine-independent fashion. I also like the brevity of the patch (though it could do with some comments perhaps, not that the existing code has any). regards, tom lane