Skip to content

split time-series toArray optimization#3914

Open
samirromdhani wants to merge 2 commits into
mainfrom
fix/1609-split-time-series-and-toarray-wastes-a-lot-memory
Open

split time-series toArray optimization#3914
samirromdhani wants to merge 2 commits into
mainfrom
fix/1609-split-time-series-and-toarray-wastes-a-lot-memory

Conversation

@samirromdhani
Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?

Fixes #1609

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@samirromdhani samirromdhani force-pushed the fix/1609-split-time-series-and-toarray-wastes-a-lot-memory branch from 790a6cb to 2d23c04 Compare May 12, 2026 15:12
@samirromdhani samirromdhani changed the title WIP: split time series optimization WIP: split time-series optimization May 12, 2026
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
@samirromdhani samirromdhani force-pushed the fix/1609-split-time-series-and-toarray-wastes-a-lot-memory branch from 2d23c04 to 3c413d9 Compare May 12, 2026 15:36
CalculatedTimeSeries is not concerned by compact array, calc split returns copies and not create NaN

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
@samirromdhani samirromdhani force-pushed the fix/1609-split-time-series-and-toarray-wastes-a-lot-memory branch from 8898d1e to 82753e5 Compare May 13, 2026 09:47
@sonarqubecloud
Copy link
Copy Markdown

@samirromdhani samirromdhani changed the title WIP: split time-series optimization split time-series toArray optimization May 13, 2026
@samirromdhani samirromdhani self-assigned this May 13, 2026
@samirromdhani samirromdhani marked this pull request as ready for review May 13, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

split time series and toArray() wastes a lot memory

1 participant