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

Optimize #ifNil: messages #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Optimize #ifNil: messages #2

wants to merge 2 commits into from

Conversation

GwenaelCasaccio
Copy link
Contributor

ifNil is inlined by the compiled it uses optimized bytecodes and doesn't create a block closure

Gwenael Casaccio added 2 commits July 9, 2013 14:15
the compiler will produce opimized messages and it won't create
a block closure.
can be GC'ed if they're tenured and not accessible from a Smalltalk
context. Why protected them there and not in the code calling them
(grow_dictionary, grow_identity_dictionary, ...) I think it's the
responsibility of the function to protects the objects maybe the
code could change or whatever, it's simpler to follow that rule.
@zecke zecke force-pushed the master branch 2 times, most recently from 4546328 to 716884a Compare October 25, 2015 15:47
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.

None yet

2 participants