Skip to content

Move drop_fn of from_owner into vtable#801

Merged
Darksonn merged 1 commit intomasterfrom
alice/owner-vtable
Nov 10, 2025
Merged

Move drop_fn of from_owner into vtable#801
Darksonn merged 1 commit intomasterfrom
alice/owner-vtable

Conversation

@Darksonn
Copy link
Copy Markdown
Member

Currently we store the drop function pointer together with the data object when using from_owner. This is not necessary, as the drop function can be stored in the vtable.

@Darksonn Darksonn merged commit 7ce330f into master Nov 10, 2025
18 checks passed
@Darksonn Darksonn deleted the alice/owner-vtable branch November 10, 2025 14:16
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