Re: [PATCHES] memset using long instead of int32

2006-02-24 Thread Bruce Momjian
Peter Eisentraut wrote: > ITAGAKI Takahiro wrote: > > Attached is a patch that changes memset to use 'long' instead of > > 'int32'. > > Your patch has been installed. Thanks. Actually, Tom wanted to test this patch because he was concerned that the new _long_ alignment requirements meant that on

Re: [PATCHES] memset using long instead of int32

2006-02-16 Thread Peter Eisentraut
ITAGAKI Takahiro wrote: > Attached is a patch that changes memset to use 'long' instead of > 'int32'. Your patch has been installed. Thanks. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)--- TIP 5: don't forget

[PATCHES] memset using long instead of int32

2006-01-19 Thread ITAGAKI Takahiro
Attached is a patch that changes memset to use 'long' instead of 'int32'. I will also send a test program. As far as I know, setting memory by 64bit unit is faster than 32bit unit on 64bit CPUs. While there are no changes on 32bit CPUs because 'long' and 'int32' are same length on them. The foll