Subject: Re: Performance tuning
From: Erik Naggum <>
Date: 05 Dec 2000 00:59:09 +0000
Newsgroups: comp.lang.lisp
Message-ID: <>

* Greg Menke <>
| I compiled the core functions in Personal Lispworks using strongest
| optimization, which improved runtimes considerably- but it remained
| extremely slow; minutes for a largish file compared to about a second
| with the C++ version.

  I experienced similar performance problems with my first few shots.
  Today, a 640K file takes 190 ms for the md5sum utility to return, the
  new md5 function in Allegro CL takes as long with that file's contents
  as a string, but also conses equally much in static memory.  My last
  version takes 130 ms and conses less than 100 bytes regardless of the
  length of the input string.  It is not particularly portable.  It is
  also intended to be used as a sink stream so writing to the stream
  computes the md5sum, retrievable upon closing the stream.  This is not
  quite as fast as I want it to be, but I expect this to change when I
  have reimplemented it using the new Allegro CL streams concepts.
  "When you are having a bad day and it seems like everybody is trying
   to piss you off, remember that it takes 42 muscles to produce a
   frown, but only 4 muscles to work the trigger of a good sniper rifle."
								-- Unknown