sizeof(void *) will be fine on most systems including all the important ones we support, as MPIR usually tries to select a limb which is either long or long long depending on what is available, and this is the size of a pointer on all the important systems I am aware of.
Bill. 2009/12/21 Dan Grayson <d...@math.uiuc.edu>: > The memory allocator provided with Singular-Factory is in the file > libcfmem.a, and the routines are called getBlock, freeBlock, and > reallocBlock. I copied the routines more than 10 years ago and > continue to use the modified copy. I may even have destroyed 8 byte > alignment then while optimizing it for speed and not noticed it until > now. I will fix it by aligning to something like sizeof(void *). Is > that good enough? > > On Dec 10, 4:23 pm, Bill Hart <goodwillh...@googlemail.com> wrote: >> By the way, which allocator was it? I did not know about the Singular >> one and had assumed it was Boehm. > > -- > > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To post to this group, send email to mpir-de...@googlegroups.com. > To unsubscribe from this group, send email to > mpir-devel+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/mpir-devel?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-de...@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.