Skip to content

Use Iterator::size_hint to initialize Column and Row capacity#2362

Merged
hecrj merged 1 commit into
masterfrom
size-hint-for-row-columns
Apr 1, 2024
Merged

Use Iterator::size_hint to initialize Column and Row capacity#2362
hecrj merged 1 commit into
masterfrom
size-hint-for-row-columns

Conversation

@hecrj

@hecrj hecrj commented Apr 1, 2024

Copy link
Copy Markdown
Member

This should help containers estimate their capacity, specially when using the column! and row! macros.

@hecrj hecrj added feature New feature or request performance addition labels Apr 1, 2024
@hecrj hecrj added this to the 0.13 milestone Apr 1, 2024
@hecrj hecrj merged commit c30b4b0 into master Apr 1, 2024
@hecrj hecrj deleted the size-hint-for-row-columns branch April 1, 2024 15:14
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.

1 participant