Skip to content

Perf/UUID serializer - #441

Merged
twisti-dev merged 3 commits into
version/26.3from
perf/uuid-serializer
Oct 14, 2026
Merged

twisti-dev merged 3 commits into
version/26.3from
perf/uuid-serializer

Conversation

@twisti-dev

Copy link
Copy Markdown
Member

No description provided.

… input length

- replace ByteBuffer.wrap with a big-endian byteArrayViewVarHandle for packing and unpacking
  the UUID halves; the bytes written are unchanged
- reject decoded byte arrays that are not exactly 16 bytes long with an IllegalArgumentException
  instead of a BufferUnderflowException or silent truncation
- give the descriptor its own serial name "surf.api.UUID" instead of reusing the ByteArray
  descriptor
- serialize UUID as a structure of two long elements "most" and "least"
- add SerializableLongUUID typealias
- decode elements in any order and fail with SerializationException when one is missing
- update ABI dump for surf-api-core
@twisti-dev twisti-dev self-assigned this Oct 14, 2026
Copilot AI balanced review requested due to automatic review settings October 14, 2026 15:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T15:28:17.721132Z 35c772c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@twisti-dev
twisti-dev merged commit e07f54f into version/26.3 Oct 14, 2026
7 checks passed
@twisti-dev
twisti-dev deleted the perf/uuid-serializer branch October 14, 2026 15:30
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