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

Basic Algorithm Cleanup #897

Merged
merged 2 commits into from
Nov 1, 2023
Merged

Conversation

LePips
Copy link
Member

@LePips LePips commented Oct 31, 2023

Just saw this in passing and had a few minutes. Saves us a few precious nanoseconds of our lives.

  • contains is more correct over allocating a local object and nil checking
  • make ChapterInfo.FullInfo creation O(n) instead of O(n^2)

@LePips LePips requested a review from PangMo5 October 31, 2023 18:38
@LePips
Copy link
Member Author

LePips commented Oct 31, 2023

@PangMo5

I ping you for reviews because you have been graciously available. However, are you still interested in development? If not, I can start pinging others for reviews.

@PangMo5
Copy link
Member

PangMo5 commented Oct 31, 2023

@PangMo5

I ping you for reviews because you have been graciously available. However, are you still interested in development? If not, I can start pinging others for reviews.

Sure. Feel free to request a review.

Copy link
Member

@PangMo5 PangMo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for saving a lot of people's time XD

@LePips LePips merged commit 7440294 into jellyfin:main Nov 1, 2023
3 checks passed
@LePips LePips deleted the basic-algorithm-cleanup branch November 1, 2023 04:11
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.

2 participants