delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/24/08:28:06

Date: Sun, 24 Oct 1999 09:37:03 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nate Eldredge <neldredge AT hmc DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Mouse Events Problem
In-Reply-To: <380F5547.9F9DCDB5@hmc.edu>
Message-ID: <Pine.SUN.3.91.991024093642.29385Q@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 21 Oct 1999, Nate Eldredge wrote:

> Also, when you do have a performance problem, start by looking at your
> algorithm.  In my YAMD malloc debugger, I once had a linear search for
> allocated blocks.  This was very slow.  I could have rewritten it in
> hand-tuned assembly, but it still wouldn't have helped very much.

The usual rule of thumb is that hand-coding in assembly could speed up
the code by a factor of 2 at the most.  If you need more than that,
assembly is not worth trying; you need to change the algorithms.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019