Subject | Re: [firebird-support] Always use BIGINT? |
---|---|
Author | Ann Harrison |
Post date | 2017-07-02T16:39:44Z |
On Sat, Jul 1, 2017 at 6:23 AM, Köditz, Martin Martin.Koeditz@... [firebird-support] <firebird-support@yahoogroups.com> wrote:
what do you mean with alignment?
It varies from machine to machine, but generally in order to add or compare two integersthey must be aligned on a "natural" boundary. For modern machines, the minimumboundary is 32 bits ... I think some 64 bit machines require a 64 bit boundary, but it'sbeen three years since I've thought about this at all, and I could be wrong. What thatmeans in practice is that when building a record in memory, Firebird pads numbers sothey fall on 32 or 64 bit boundaries.Cheers,Ann