Branch: Tag:

2017-01-10

2017-01-10 22:10:06 by Martin Nilsson <nilsson@fastmail.com>

Some minor optimizations. Most importantly misleadingly named WIDE_ISLOWER has been removed.

29:    "1111111111111111"    "1111111011111111";    + const unsigned char hexdecode[256] = + { +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  +  /* '0' - '9' */ +  0, 1, 2, 3, 4, 5, 6, 7, 8, 9, +  +  16,16,16,16,16,16,16, +  +  /* 'A' - 'F' */ +  10, 11, 12, 13, 14, 15, +  +  16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16, +  +  /* 'a' - 'f' */ +  10, 11, 12, 13, 14, 15, +  +  16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, +  16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, + }; +    /* Not all of these are primes, but they should be adequate */   const INT32 hashprimes[32] =   {