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

Remove ASRectMap, which is not worth its own weight #1127

Merged
merged 3 commits into from
Sep 18, 2018

Conversation

Adlai-Holler
Copy link
Member

  • We create a lot of ASLayouts.
  • Each non-leaf one has an ASRectMap.
  • Two heap allocations per map (one for object, one for unordered_map's storage.)
  • Only used to make -frameForElement: faster.
  • Fast enumeration + direct ivar access is probably faster and saves us a ton of -init time.

Copy link
Member

@nguyenhuy nguyenhuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Contributor

@maicki maicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

3 participants