TaggedArrays (Proposal)
Mark Roos
mroos at roos.com
Sat Jul 7 14:44:13 PDT 2012
Hi Dain
I use exceptions to handle non local returns in ST which are not
exceptional ( happen alot).
I did a quick look at the timing and the throw/catch was not slow.
I believe John Rose has a blog entry on it
mark
From: Dain Sundstrom <dain at iq80.com>
To: Da Vinci Machine Project <mlvm-dev at openjdk.java.net>
Date: 07/07/2012 10:10 AM
Subject: Re: TaggedArrays (Proposal)
Sent by: mlvm-dev-bounces at openjdk.java.net
On Jul 7, 2012, at 1:56 AM, Rémi Forax wrote:
> You have also to figure out how to get two return values from a method
call,
> but exceptions are your best friend here.
Can you give an example of what you mean here? Also, from all the
presentations I've seen on the JVM, exceptions are very expensive to throw
and catch, so I would expect this to be way slower then say returning the
multiple values using a generated results class.
-dain
_______________________________________________
mlvm-dev mailing list
mlvm-dev at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20120707/701d6868/attachment.html
More information about the mlvm-dev
mailing list