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

Shrink ASDisplayNode from 1072 to 968 bytes, reduction of 10.74% #1484

Merged
merged 2 commits into from
May 7, 2019

Commits on May 3, 2019

  1. Shrink ASDisplayNode from 1088 to 976 bytes, reduction of 11.48%

    These objects accumulate in the heap, so reducing their size will allow more to accumulate before memory warnings.
    
    Group the `BOOL`s into a struct. Shrink the various stored `enum`s to fit the size of their contents. Move the ivars around so that the smaller `enum` are near eachother and the bitfield struct.
    Greg Bolsinga committed May 3, 2019
    Configuration menu
    Copy the full SHA
    a645754 View commit details
    Browse the repository at this point in the history
  2. Forgot to bit-field-ify placeholderEnable; new small size is 968, old…

    … size is 1072 (measured consistentlyl on iPhoneSE simulator). 10.74% reduction.
    Greg Bolsinga committed May 3, 2019
    Configuration menu
    Copy the full SHA
    65cf0ba View commit details
    Browse the repository at this point in the history