[gambit-list] Speed of u8vector-ref
asandroq at gmail.com
Tue Oct 27 10:34:54 EDT 2009
On 10/27/09, Marc Feeley <feeley at iro.umontreal.ca> wrote:
> When in doubt, use the -expansion option to gsc to see what is inlined. If
> you are in serious doubt, use the -gvm option to view the GVM code produced
> (.gvm file). If you can't believe what is happening, use the -keep-c option
> to get the .c file and see if it is calling the ___U8VECTORREF C macro. If
> the execution of the program contradicts the laws of physics, send email to
> Brad Lucier.
Actually I am kind of speechless right now. I changed all uses of
u8vector to u32vector, because of memory alignment issues on RISC
machines, and my code tells me it is searching to ply 35 in this
2001's SPARC machine, which is hard to believe. I need to investigate
this further, and will look at the generated C code.
More information about the Gambit-list