in reply to Re^5: Bidirectional lookup algorithm? (Judy)
in thread Bidirectional lookup algorithm? (Updated: further info.)
A long long typedef would break your assumption on x32 ABI. Fortunately, there is a type that should fit the bill exactly. You can use typedef ptrdiff_t Word_t; (and ssize_t is almost always the same size as well).
$ echo | gcc -mx32 -dM -E - | grep SIZEOF
Funny about the JU_LEASTBYTESMASK macro—it still doesn't appear quite right. Diligently the BITSPERBYTE is incorporated, but then, in the same definition, the 0x100 constant assumes 8 bits per byte ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Bidirectional lookup algorithm? (Judy)
by BrowserUk (Patriarch) on Jan 13, 2015 at 04:36 UTC | |
|
Re^7: Bidirectional lookup algorithm? (Judy)
by syphilis (Archbishop) on Jan 13, 2015 at 02:26 UTC |