Skip to content

Implement RUBY_TYPED_EMBEDDABLE and dsize#134

Open
byroot wants to merge 1 commit into
ruby:masterfrom
byroot:embeddable
Open

Implement RUBY_TYPED_EMBEDDABLE and dsize#134
byroot wants to merge 1 commit into
ruby:masterfrom
byroot:embeddable

Conversation

@byroot

@byroot byroot commented Jul 12, 2026

Copy link
Copy Markdown
Member

Digest instances now store the context buffer inline inside the object slot.

This improves data locality and save some malloc+free churn.

Also declare the type as RUBY_TYPED_THREAD_SAFE_FREE if available (Ruby 4.1).

Digest instances now store the context buffer inline inside
the object slot.

This improves data locality and save some malloc+free churn.

Also declare the type as RUBY_TYPED_THREAD_SAFE_FREE if available
(Ruby 4.1).
@byroot byroot requested a review from knu as a code owner July 12, 2026 19:21
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.

1 participant