Re: Cost of XLogInsert CRC calculations
Mark Cave-Ayland <m.cave-ayland@webbased.co.uk>
From: "Mark Cave-Ayland" <m.cave-ayland@webbased.co.uk>
To: "'Christopher Kings-Lynne'" <chriskl@familyhealth.com.au>, "'Simon Riggs'" <simon@2ndquadrant.com>
Cc: "'Tom Lane'" <tgl@sss.pgh.pa.us>, "'Bruce Momjian'" <pgman@candle.pha.pa.us>, <pgsql-hackers@postgresql.org>
Date: 2005-05-12T12:48:48Z
Lists: pgsql-hackers
> -----Original Message----- > From: Christopher Kings-Lynne [mailto:chriskl@familyhealth.com.au] > 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