Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax misleading #1

Open
rampant1018 opened this issue Oct 17, 2015 · 2 comments
Open

Syntax misleading #1

rampant1018 opened this issue Oct 17, 2015 · 2 comments

Comments

@rampant1018
Copy link

According to page 8 in this slide. The left bracket ] is an unconditionally jump. But in the interpreter.c, I found the left bracket ] is translated to a conditionally jump.

@rampant1018
Copy link
Author

Oh! I got the reason why using conditionally jump in the interpreter.c. In fact, the behavior is same. But the conditionally jump is faster.

@jserv
Copy link
Contributor

jserv commented Oct 17, 2015

@rampant1018 Exactly, they are effectively the same.

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

No branches or pull requests

2 participants