Skip to content
Discussion options

You must be logged in to vote

Vector<T> will likely not support implicit growth to Vector512<T>. We will look into and may provide some explicit mechanism through which to opt into the functionality.

There are two primary considerations at play here.

First, a minor concern is that some developers may have written code which presumes no larger than 32-byte Vector<T>. Thus, growing the size of Vector<T> may break their existing code. This is a bug in their code, but it is a concern we must factor in nonetheless.

Second, implicit growth to 64-byte Vector<T> may negatively impact the performance of some code. This is particularly the case for inputs between 1-63 bytes (or sometimes 1-127 bytes, as Count * 2 is a common ch…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gfoidl
Comment options

Answer selected by gfoidl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants