[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Softscheme
From: |
Carlos Pita |
Subject: |
Re: [Chicken-users] Softscheme |
Date: |
Mon, 16 Oct 2006 20:20:38 -0300 |
Sorry, a last minute addendum:
Is there a way to suppress all runtime type checkings for the generated
code?
On Mon, 2006-10-16 at 20:17 -0300, Carlos Pita wrote:
> Hi folks,
> I wonder if the softscheme egg improves performance of chicken
> applications by removing unnecessary runtime type checks. I mean, aren't
> the primitive operations type checked by themselves? For example, if
> implementation of primitive + checks that its arguments are all numbers,
> I would expect no performance gain from clever deductions of the soft
> type checker for say (+ 2 3) (for the sake of the example suppose that +
> is intended to add fixnums only, so no further examination of argument
> types is needed once it's sure that they're between the expected ones).
> What will do chicken scheme compiler in this case? Will it remove
> superfluous type checks when the soft type checker provides enough
> guarantees?
> Thank you in advance.
> Cheers,
> Carlos
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas