Skip to content

Conversation

TDecking
Copy link
Contributor

This will add missing const qualifiers, various stable functions, and some performance optimizations from Vec to SmallVec.
Among them is splice, which can replace uses of insert_many. The latter has been removed, which should fix #255.

As a small bit of refactoring, functions that rely exclusively on the global allocator (such as with_capacity) have been put in a separate implementation block. That will make it a bit easier to add an allocator api later on.

Copy link
Collaborator

@mbrubeck mbrubeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is much appreciated.

@mbrubeck mbrubeck added this pull request to the merge queue May 30, 2025
Merged via the queue into servo:v2 with commit 4fe4068 May 30, 2025
6 checks passed
@TDecking TDecking deleted the fixup branch May 30, 2025 23:48
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.

Deprecate insert_many (and add splice?)

2 participants