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

Introduce in-place operations for data processing #142

Open
akabla opened this issue Aug 20, 2021 · 1 comment
Open

Introduce in-place operations for data processing #142

akabla opened this issue Aug 20, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@akabla
Copy link
Member

akabla commented Aug 20, 2021

For instance:
stressfunction!(d,step)
smooth!(d,2)

Although RheoDataTime/Freq objects are immutable, arrays can be manipulated with push!, pop! and append! and already allocated values changed.

There would be marginal differences in computational costs since array data is already managed efficiently (i.e. not deep copied). It is just about the syntax and making it consistent with a typical workflow.

@akabla akabla added the enhancement New feature or request label Aug 20, 2021
@akabla akabla added this to the 0.9.5 milestone Aug 20, 2021
@akabla akabla self-assigned this Aug 20, 2021
akabla added a commit that referenced this issue Sep 4, 2021
@akabla akabla modified the milestones: 0.9.5, 0.9.6 Jan 4, 2023
@akabla
Copy link
Member Author

akabla commented Jan 5, 2023

This has been done for data generation. Pushed to next version for in-place processing.

@akabla akabla changed the title Introduce in-place operations for data generation and processing Introduce in-place operations for data processing Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant