Skip to content

Add saving lazyudf - #532

Merged
lshaw8317 merged 6 commits into
mainfrom
save_lazyudf
Nov 27, 2025
Merged

Add saving lazyudf#532
lshaw8317 merged 6 commits into
mainfrom
save_lazyudf

Conversation

@lshaw8317

@lshaw8317 lshaw8317 commented Nov 24, 2025

Copy link
Copy Markdown
Collaborator

In order to fully implement ironArray/Caterva2#279, need this PR which adds a save method to LazyUDF class in blosc2.

Also fixes #533

@FrancescAlted FrancescAlted left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work! I am just wondering if we can still use the commented out code that checks for special values. I don't remember if there is some benchmark that exercises this code, but it could well be the case. Can you double chek that?

Comment thread src/blosc2/lazyexpr.py Outdated
Comment thread src/blosc2/lazyexpr.py Outdated
@lshaw8317

Copy link
Copy Markdown
Collaborator Author

There are benchmarks for filling/accessing schunks with special values, but none for lazy expression calculations which use operands with special values, which is the context in which the commented-out code would be executed.

@FrancescAlted
FrancescAlted self-requested a review November 27, 2025 14:06

@FrancescAlted FrancescAlted left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. In case we are not going to need the commented code here, better remove it.

@lshaw8317
lshaw8317 merged commit aa8712a into main Nov 27, 2025
14 checks passed
@lshaw8317
lshaw8317 deleted the save_lazyudf branch November 27, 2025 14:43
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.

LazyUDF fails with integer indices

2 participants