"Dave Griffiths" <[EMAIL PROTECTED]> writes: > Are f32 better for speed reasons anyway?
Depends. If your inner loops are written in C, then using f32 or f64 vectors should be faster, as fast as C float or double arrays. If you use them from Scheme, then every f32vector-ref will have to box the element (i.e., it has to alloc from the cell heap), which is likely slower than using a normal vector, since normal vectors store their elements in boxed form. > Why can't I access them with the vanilla vector-ref/vector-set! etc? Good question. :-) One possible answer is: for the same reason that you can't access strings with vector-ref, and vectors not with list-ref. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user