On Nov 2, 10:55 am, Rémi Forax <[email protected]> wrote:
> Le 02/11/2009 17:40, Jeremy a écrit :
>
> > Neat stuff Rémi!
>
> > One question for you... you say that the types don't help with
> > unboxing. That surprised me,
>
> What I wanted to say is that a mixed model,
> some variables are 'any' some others are int,
> has a cost which is more close to the full dynamic model
> than the full typed model.
>
> This is because boxings are required at all edges between
> the typed world and the untyped world.

Yes.

> You don't have a nice linear function that says if I type a new varaible,
> I can gain x% of performance.

Right, it's much more complicated than that.

> > as in the prototype I'm working on, if something has type "int", then
> > it's unboxed. At the points
> > where something is coerced from type any to int, copy the underlying
> > integer into the unboxed
> > int. What's preventing you from doing the same?
>
> That what I do or I haven't understand what you mean.
>

Great! Thanks for the clarification.

Cheers,
Jeremy


> > Cheers,
> > Jeremy
>
> Cheers,
> Rémi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to