> -----Original Message----- > From: Christopher Kings-Lynne [mailto:[EMAIL PROTECTED] > Sent: 12 May 2005 02:46 > To: Simon Riggs > Cc: Mark Cave-Ayland (External); 'Tom Lane'; 'Bruce Momjian'; > pgsql-hackers@postgresql.org > Subject: Re: [HACKERS] Cost of XLogInsert CRC calculations > > > >>perhaps the CRC-32 routines could be written in in-line assembler > > > > > > If you can do this, step right up. :-) > > > > Best Regards, Simon Riggs > > Surely there's an open source code floating around somewhere? > > Chris
Hi Chris, I've found some x86 MASM sources using Google, but nothing in GCC-style in-line assembler. It would be good to see how this compares in terms of speed with the code generated by GCC. Kind regards, Mark. ------------------------ WebBased Ltd 17 Research Way Plymouth PL6 8BT T: +44 (0)1752 791021 F: +44 (0)1752 791023 W: http://www.webbased.co.uk ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend