[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Speeding up bit-vector operation (using iset)
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Speeding up bit-vector operation (using iset) |
Date: |
Thu, 18 Mar 2010 10:49:24 +0100 |
On Thu, Mar 18, 2010 at 10:35 AM, Alex Shinn <address@hidden> wrote:
>
> I've modified iset so that it will generate tight loops on
> the bit-vector arithmetic operations, and it runs the
> original example in just over a second on my machine. You
> might be able to make this faster by using u32/u64 vectors
> (storing only fixnum-sized values), but you'd get the
> biggest gain from rewriting the operations directly in C and
> vectorizing them.
Well done. The (safe) u8vector primitives are really slow in the moment,
but it's no big deal to speed them up, which I will do in due time.
cheers,
felix