Re: Improved Swaping Method In sort.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ray Lee
Date: Wednesday, April 30, 2008 - 11:19 am

On Wed, Apr 30, 2008 at 11:09 AM, Soumyadip Das Mahapatra
<dip_kernel@yahoo.co.in> wrote:

The above prevents gcc from storing the intermediary in a register. So
you're trading fast register access for slow memory access.

Really, you shouldn't be prosing optimizations unless you do two
things: check the output of gcc (on at least one platform, but really
should be several), and include timings of before/after.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Improved Swaping Method In sort.c, Soumyadip Das Mahapatra, (Wed Apr 30, 11:09 am)
Re: Improved Swaping Method In sort.c, Andi Kleen, (Wed Apr 30, 11:17 am)
Re: Improved Swaping Method In sort.c, Ray Lee, (Wed Apr 30, 11:19 am)