On 9/29/05, Daishi Kato <[EMAIL PROTECTED]> wrote:
>
> It would be nice to have.  Are there any other procedures
> that are not supported by numbers egg?

All arithmetic operations should work with the extended number
types. Operations that involve indices (vector-ref, etc...) still
want fixnums, but that's acceptable according to R5RS.

>
> BTW, I felt the use of numbers egg made the execution slow,
> even if it's just a fixnum calculation. Is is an expected feature?
>

Using numbers is definitely slower, since there is more dispatching
overhead on number types. The base system only has two numeric
types, which makes a type-check quite fast. The numbers egg has
to check for more possible types (and all these tests are implemented
in Scheme).


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to