Hi! I would like to know if it's possible to implement very efficient inner loops that do flonum number crunching over srfi-4 arrays, avoiding type checking at all. I understand from the manual that fp+, fp-, etc assume that their args are flonums, and from the faq that f64vector-ref and f64vector-ref! will be handled specially by the compilator under usual-integrations. But what does it exactly mean? Will the accesors type check their arguments? Or will, say, fixnums be "promoted" to f64? I wonder if it's possible to get (almost) C-performance, resigning type safety, for compiled code using fp family of operators and fp64 vectors. Thank you very much. Regards, Carlos
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta). Probalo ya!