:bm1::bm2::bm3::bm4::bm5::bm6::bm7::bm8::bm9::bm0:

@bonkmaykr@canithesis.org

20 Male, Missouri, United States
Running Canithesis Interactive
Java / C++ engineer Linux advocate.
Newly an Amiga + Saturn nut.
wipEout and THE FINALS fan

I made the Firestar Mod Manager for Playstation Vita. Currently working on a danmaku shooter game called "Time Falcon". My posts can range anywhere from deep nerd thoughts to brainless shitposting.

Give me liberty or give me death
XMPP/Jabberbonkmaykr@canithesis.org

56 following, 31 followers

2 ★ 0 ↺

[?]:bm1::bm2::bm3::bm4::bm5::bm6::bm7::bm8::bm9::bm0: »
@bonkmaykr@canithesis.org

the first result for "small vector" library for C++ is like three times the fucking size of the glibc vector and 6000 lines of code, make that make sense

...

[?]Coyote »
@Coyote@social.singing.dog

@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.

    History