@bonkmaykr@canithesis.org
56 following, 31 followers
@bonkmaykr "Small vector" is a term of art for a vector that has its storage within the object itself instead of allocated dynamically (see "small string optimization" for an analog as to why it means that). In that sense, it's closer to an array, but it can grow and shrink within its maximum size instead of being fixed at declaration. With all the template plumbing that comes with generic containers and the fact that the contained data isn't stored separately, "small vectors" are neither small in code nor byte size.