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

json_object_private: save 8 bytes in struct json_object in 64-bit arc… #454

Merged
merged 1 commit into from Nov 30, 2018

Conversation

ramiropolla
Copy link
Contributor

…hitectures

  • there is no need for _ref_count to be uint_fast32_t (the compiler
    might decide to use a 64-bit int). make it uint32_t instead.
  • reorder the 32-bit integer fields (o_type and _ref_count) so that
    there is no wasted 4-byte gap after each of them.

…hitectures

- there is no need for _ref_count to be uint_fast32_t (the compiler
  might decide to use a 64-bit int). make it uint32_t instead.
- reorder the 32-bit integer fields (o_type and _ref_count) so that
  there is no wasted 4-byte gap after each of them.
@hawicz hawicz merged commit 240627f into json-c:master Nov 30, 2018
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

2 participants