Skip to content

feat: add Series::builder#43

Merged
martinohmann merged 1 commit into
mainfrom
series-builder
Jul 13, 2025
Merged

feat: add Series::builder#43
martinohmann merged 1 commit into
mainfrom
series-builder

Conversation

@martinohmann

Copy link
Copy Markdown
Owner

This avoid unnecessary cloning for use cases that previously required Series::new(start.., pattern).with() (which clones the original series).

These cases can be replaced with Series::builder(start.., pattern) which is more ergonomic.

This also improves Series::with to only clone the recurrence pattern instead of the whole original Series struct.

This avoid unnecessary cloning for use cases that previously required
`Series::new(start.., pattern).with()` (which clones the original series).

These cases can be replaced with `Series::builder(start.., pattern)`
which is more ergonomic.

This also improves `Series::with` to only clone the recurrence pattern
instead of the whole original `Series` struct.
@martinohmann martinohmann merged commit 8adb8f9 into main Jul 13, 2025
4 checks passed
@martinohmann martinohmann deleted the series-builder branch July 13, 2025 20:47
@github-actions github-actions Bot mentioned this pull request Jul 13, 2025
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.

1 participant