Skip to content

Retain enumeration properties when using to_rows on row data#9

Merged
jonatanklosko merged 1 commit intomainfrom
jk-mapper
Jun 25, 2022
Merged

Retain enumeration properties when using to_rows on row data#9
jonatanklosko merged 1 commit intomainfrom
jk-mapper

Conversation

@jonatanklosko
Copy link
Copy Markdown
Contributor

Raw row data may be an enumerable that supports optimized slicing, however doing Stream.map on such data means we lose this property. This adds a custom enumerable that does the mapping and proxies all the traversals to the underlying enumerable.

@jonatanklosko jonatanklosko merged commit 9505373 into main Jun 25, 2022
@jonatanklosko jonatanklosko deleted the jk-mapper branch June 25, 2022 18:44
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