Am Sonntag, 22. April 2007 23:14 schrieb chromatic: > I figured it was a rounding, but I saw two magic numbers and didn't want to > guess what it was.
Well, sorry. I thought the rounding was obvious. But obviously I was wrong. Some macros for rounding up are for sure a good thing. The packfile code has some more rounding up like this. Re magic numbers: yes the 8 is an arbitrary measure to reduce the needed free list slots. > Also, is anyone *sure* that this boundary is effective on both 32- and > 64-bit platforms? I hate to make assumptions about alignment. The register memory needs FLOATVAL alignment. The macro ALIGNED_CTX_SIZE takes care of this. Hrmpf. another rounding up thingy ;) leo