Skip to content

ScalarFns as Arrays#7361

Merged
joseph-isaacs merged 6 commits intodevelopfrom
ngates/scalar-fn-arrays
Apr 14, 2026
Merged

ScalarFns as Arrays#7361
joseph-isaacs merged 6 commits intodevelopfrom
ngates/scalar-fn-arrays

Conversation

@gatesn
Copy link
Copy Markdown
Contributor

@gatesn gatesn commented Apr 9, 2026

Provide a utility for serializing scalar functions as arrays

gatesn added 2 commits April 8, 2026 20:46
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
@joseph-isaacs
Copy link
Copy Markdown
Contributor

Nice

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 9, 2026

Merging this PR will not alter performance

✅ 1123 untouched benchmarks
⏩ 1455 skipped benchmarks1


Comparing ngates/scalar-fn-arrays (ac3a8a4) with develop (d87dfed)

Open in CodSpeed

Footnotes

  1. 1455 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

Signed-off-by: Nicholas Gates <nick@nickgates.com>
gatesn added 2 commits April 14, 2026 10:45
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
@gatesn gatesn marked this pull request as ready for review April 14, 2026 15:02
@gatesn gatesn added the changelog/feature A new feature label Apr 14, 2026
@gatesn gatesn enabled auto-merge (squash) April 14, 2026 15:29
#[derive(Clone, Debug)]
pub struct ScalarFnVTable {
pub(super) scalar_fn: ScalarFnRef,
pub(super) id: ScalarFnId,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why did you change this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We were storing more than we needed, and had to check for equality later anyway. So reduced it to minimal information

@joseph-isaacs joseph-isaacs disabled auto-merge April 14, 2026 15:35
@gatesn gatesn requested a review from joseph-isaacs April 14, 2026 16:34
Copy link
Copy Markdown
Contributor

@connortsui20 connortsui20 left a comment

Choose a reason for hiding this comment

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

send it

@joseph-isaacs joseph-isaacs merged commit 646e6be into develop Apr 14, 2026
74 of 79 checks passed
@joseph-isaacs joseph-isaacs deleted the ngates/scalar-fn-arrays branch April 14, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants