Skip to content

1.x: Subscriber.NOT_SET Long -> long, saves an unboxing per instance #3919

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

Merged
merged 1 commit into from
May 10, 2016

Conversation

akarnokd
Copy link
Member

@akarnokd akarnokd commented May 9, 2016

Somehow, Subscriber.NOT_SET was object Long instead of primitive long.

@JakeWharton
Copy link
Contributor

A tiny win, but a win no less 👍

@akarnokd
Copy link
Member Author

akarnokd commented May 9, 2016

It bothered me for some time now, seeing the Long there. This is not just about the unboxing, but remove the indication that NOT_SET can be null for meaningful reasons.

@ZacSweers
Copy link
Contributor

👍

@davidmoten
Copy link
Collaborator

Looks like my bad from last year, thanks 👍

@stevegury
Copy link
Member

👍

@akarnokd akarnokd merged commit ac96d21 into ReactiveX:1.x May 10, 2016
@akarnokd akarnokd deleted the SubscriberCleanup0509 branch May 10, 2016 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants