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

feat: added lambda processing instead of returning a list #215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fsniper
Copy link

@fsniper fsniper commented Oct 18, 2024

I added lambda processing to the parsing methods.

These methods are beneficial in some cases like:

  • When working with large playlists, memory can become a bottleneck.
  • You may not want to have the whole list but trying to filter out some elements.

@BjoernPetersen
Copy link
Owner

Thanks for the contribution! I'll have a closer look within the next few days.

Copy link

codecov bot commented Oct 27, 2024

Codecov Report

Attention: Patch coverage is 62.50000% with 12 lines in your changes missing coverage. Please review.

Project coverage is 67.39%. Comparing base (c62a72f) to head (6a1ec88).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...rc/main/kotlin/net/bjoernpetersen/m3u/M3uParser.kt 62.50% 9 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #215      +/-   ##
============================================
- Coverage     69.73%   67.39%   -2.35%     
- Complexity       47       53       +6     
============================================
  Files             4        4              
  Lines           152      184      +32     
  Branches         28       29       +1     
============================================
+ Hits            106      124      +18     
- Misses           28       41      +13     
- Partials         18       19       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BjoernPetersen BjoernPetersen self-assigned this Oct 27, 2024
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