forked from delta-io/delta-kernel-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use generic type parameters instead of Box<dyn Iterator>
Changes: - Replace Box<dyn Iterator> with generic type parameter I in VersionGroupingIterator - Add type parameters I and L with appropriate trait bounds using where clauses - Remove 'static bounds as they're no longer needed without Box<dyn> - Simplify From implementation to use concrete iterator type directly This change: 1. Improves performance by avoiding dynamic dispatch 2. Makes the code more idiomatic by using generics 3. Maintains flexibility while being more efficient 4. Removes unnecessary boxing of iterators
- Loading branch information
1 parent
71734e9
commit 353da58
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters