[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: return
From: |
Chong Yidong |
Subject: |
Re: return |
Date: |
Fri, 03 Dec 2010 14:46:08 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Miles Bader <address@hidden> writes:
> Chong Yidong <address@hidden> writes:
>>> OK, I'll try harder in the future not to suggest Emacs-level features
>>> (that seeming every other languages and environments have)
>>
>> As Tassilo Horn explained, catch/throw does exactly what you wanted.
>
> I presume he wants something without the overhead tho...
You mean the performance overhead from adding an extra internal_catch?
I doubt there's a free lunch here; adding a "return" or "return-from"
mechanism would also add overhead, and that overhead would apply to
every single funcall. Still, it's a worthwhile experiment to implement
"return"/"return-from" and see how big the performance impact is.
- Re: return, Chong Yidong, 2010/12/03
- Re: return, Miles Bader, 2010/12/03
- Re: return,
Chong Yidong <=
- Re: return, Chong Yidong, 2010/12/03
- Re: return, Stefan Monnier, 2010/12/03
- Re: return, Chong Yidong, 2010/12/03
- Re: return, Stefan Monnier, 2010/12/03
- Re: return, Chong Yidong, 2010/12/03
- Re: return, Davis Herring, 2010/12/06
- Re: return, Chong Yidong, 2010/12/06
- Re: return, Chong Yidong, 2010/12/03
- Re: return, Helmut Eller, 2010/12/04