Skip to content

Conversation

@chumer
Copy link
Contributor

@chumer chumer commented Jan 15, 2015

Before my changes:
('computation-time 204)

After my changes:
('computation-time 0)

Make sure you run it with -G:-TruffleBackgroundCompilation to ensure your countdown method is compiled.

… measuring. You should not see any compilations or invalidations in your code after that if -G:+TraceTruffleCompilation is enabled. If you do, you might have a problem in your interpreter.
…It might have been rewritting due to the first invocation. The method isTail can be asserted compilationConstant.
…ey may invalidate themselves through changes in the FrameDescriptor.
cesquivias added a commit that referenced this pull request Jan 15, 2015
Some changes to make tailcalls compile.

I saw a change from 204ms to 2ms, but close enough :)
@cesquivias cesquivias merged commit 27d1de5 into cesquivias:master Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants