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

use-optimzied-ifNil #1454

Closed

Conversation

MarcusDenker
Copy link
Contributor

Two simple changes to make sure that a #ifNotNil:#ifNil: send is inlined

@MarcusDenker
Copy link
Contributor Author

Changes are in

SpMorphicTableDataSource>>#elements
SpDatePresenter>>#initialize

The SpMorphicTableDataSource method seems to be called a lot from the inspector (e.g. in the debugger), so avoiding some sends and block creations is nice

@demarey
Copy link
Collaborator

demarey commented Sep 19, 2023

Why symbols are now serialized as Strings in Tonel?

@MarcusDenker
Copy link
Contributor Author

There is now a conflict, I will redo the PR

@MarcusDenker MarcusDenker deleted the use-optimzied-ifNil branch September 20, 2023 10:20
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