[gambit-list] Speed of u8vector-ref

Alex Queiroz asandroq at gmail.com
Tue Oct 27 09:54:31 EDT 2009


Hallo,

     According to statprof, I am spending nearly 40% of my running
time in lines which call 'board-ref', which is simply defined as:

(define board-ref u8vector-ref)

'u8vector-ref' seems a pretty low-level call, so I can't see how this
can be improved further. It is just a macro around '##u8vector-ref'.
Maybe using it directly instead of 'board-ref'? Or is this probably a
memory alignment issue?

Cheers,
-- 
-alex
@asandroq
http://www.ventonegro.org/


More information about the Gambit-list mailing list