-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shrink _ASCollectionPendingState from 144 to 128 bytes, a 12.5% reduc…
…tion (#1485) * Shrink _ASCollectionPendingState from 144 to 128 bytes, a 12.5% reduction 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. * address review comments. move enums out. add comment. rename struct to _flags * fix a missing rename
- Loading branch information
1 parent
bf82b56
commit c3e608b
Showing
3 changed files
with
136 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters