On Sun, May 23, 2004 at 17:32:36 -0400, Tom Lane <[EMAIL PROTECTED]> wrote: > > slower. (The datatype conversions induced inside get_next_S are likely > to outweigh any savings from counting by ints, on most modern hardware.)
You aren't even guarenteed that integer operations are faster. On the Cray XMP integer math was often done using floating point operations because they were faster. This limited them to 48 bits instead of instead of 64, but normally 48 bits was enough. I don't remember if just multiplication was faster or if all operations were faster. ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org