Date: Sun, 24 Oct 1999 09:37:03 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Nate Eldredge cc: djgpp AT delorie DOT com Subject: Re: Mouse Events Problem In-Reply-To: <380F5547.9F9DCDB5@hmc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.