Skip to content

Move the class map to a CFDictionary.#8328

Merged
thomasvl merged 1 commit into
protocolbuffers:masterfrom
thomasvl:ext_reg
Feb 22, 2021
Merged

Move the class map to a CFDictionary.#8328
thomasvl merged 1 commit into
protocolbuffers:masterfrom
thomasvl:ext_reg

Conversation

@thomasvl

Copy link
Copy Markdown
Contributor

Since the keys are Class-s, there's no need to hash/copy/etc. them. This
avoids causing +initialize on the classes just when building up a registry.

@google-cla google-cla Bot added the cla: yes label Feb 22, 2021
@thomasvl

Copy link
Copy Markdown
Contributor Author

@dmaclach fyi

Since the keys are `Class`-s, there's no need to hash/copy/etc. them. This
avoids causing `+initialize` on the classes just when building up a registry.
@thomasvl
thomasvl merged commit 5911099 into protocolbuffers:master Feb 22, 2021
@thomasvl
thomasvl deleted the ext_reg branch February 22, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants