Support mutability #1

Open
opened 2024-05-02 09:31:37 +12:00 by mikedilger · 0 comments
mikedilger commented 2024-05-02 09:31:37 +12:00 (Migrated from github.com)

Borrowed types (&mut Event) can have mutators for fixed-length values.

Owned types (OwnedEvent) can have mutators for variable length values via reallocation. Perhaps reallocation isn't needed if the new value is smaller (a case we can optimize).

Borrowed types (&mut Event) can have mutators for fixed-length values. Owned types (OwnedEvent) can have mutators for variable length values via reallocation. Perhaps reallocation isn't needed if the new value is smaller (a case we can optimize).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/pocket#1
No description provided.