Skip to content

refactor(bender-slang)!: pass slices instead of vectors across FFI - #357

Merged
micprog merged 1 commit into
masterfrom
slang-ffi-slices
Sep 10, 2026
Merged

micprog merged 1 commit into
masterfrom
slang-ffi-slices

Conversation

@fischeti

@fischeti fischeti commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Generally, all of those are anyway read-only and this gets rid of a few unnecessary re-allocations.

@micprog micprog 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 👍

@micprog

micprog commented Sep 9, 2026

Copy link
Copy Markdown
Member

This will require a new bender-slang version to be released, right?

@fischeti

fischeti commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

yes, I think it was anyway due, since there were some other changes as well.

…opriate

Saves a few over-allocations and is generally more idiomatic since those are all read-only values
@micprog
micprog merged commit b407dd6 into master Sep 10, 2026
18 checks passed
@micprog
micprog deleted the slang-ffi-slices branch September 10, 2026 09:58
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.

2 participants