Skip to content

Conversation

@gefjon
Copy link
Owner

@gefjon gefjon commented Mar 19, 2023

No description provided.

this comes with the definition and first usage of `define-vector-struct`, which eventually
will be used by dict to reduce indirection in its nodes
@gefjon gefjon marked this pull request as draft March 22, 2023 18:18
@gefjon
Copy link
Owner Author

gefjon commented Mar 22, 2023

Tabling this for now, because while implementing the various vec operators on transients I've discovered that transient vecs aren't a huge win - push-back and pop-back get better, but extend and retract already optimize batched insertions and removals to and from the end; replace-at and update-at can potentially re-use the body structure; but most operations will have to copy any changes to the body anyway because nodes (i.e. simple-vectors) aren't adjustable.

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