[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] spellcheck benchmark
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] spellcheck benchmark |
Date: |
Mon, 14 Mar 2005 07:59:00 +0100 |
On Sun, 13 Mar 2005 23:35:54 -0600, Ruhi Bloodworth
<address@hidden> wrote:
> Here's my first go at the spellcheck benchmark.
>
Thanks a lot.
> Any improvements ?
Wel, I'd throw in this:
(declare
(uses utils)
(disable-interrupts)
(block)
(usual-integrations)
(fixnum) )
The require can be done at compile-time, and the declarations
will speed up the whole thing. This program can safely be compiled
in benchmark mode (-Ob).
Performance isn't great, but that's due to the fact that Chicken hash-tables
and file I/O is somewhat slow.
cheers,
felix