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

DO NOT MERGE: fast-binary-sort macros scrooge thrift #1210

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

johnynek
Copy link
Collaborator

this is on top of #1209

There are issues with using this. If you have thrifts with fields that are neither required nor optional, you can have nulls in your fields. In that case, our macros cannot currently see that, and you will get a null pointer exception at runtime.

The only solution to this problem is to treat all fields as optional which has some size and performance implications. The way forward is not 100% clear here.

@mcanlas
Copy link

mcanlas commented Aug 30, 2016

Stale PR. Should we close?

@CLAassistant
Copy link

CLAassistant commented Nov 16, 2019

CLA assistant check
All committers have signed the CLA.

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.

3 participants