1.9 tail-call optimization status?

T

Thomas Hurst

vm_opts.h contains:

#define OPT_TAILCALL_OPTIMIZATION 0

In an interview, ko1 mentioned it should be enabled in 1.9's release,
and needed testing:

http://blog.grayproductions.net/articles/the_ruby_vm_episode_v

Current Ruby 1.9 (trunk) is not enabled this optimization. If you want
to try this, please re-write that option in "vm_opts.h"
(OPT_TAILCALL_OPTIMIZATION) and re-compile that. I think release
version of Ruby 1.9 is enabled this optimization. I need more comments
of it

That was a year ago, and I've not noticed much else in the way of
references to it. Is anyone aware of it's current status? It seems to
work, but I can't say I've tested it significantly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,792
Messages
2,569,639
Members
45,353
Latest member
RogerDoger

Latest Threads

Top