r/C_Programming • • May 26 '26

Project Small and fast vector implementation

https://github.com/ephf/vector

Hello, just wanted to share this small (<150 lines) header for dynamic arrays in C. Feel free to look through it and show what could be done better or ask questions. AI was not involved in the making of this.

9 Upvotes

15 comments sorted by

View all comments

Show parent comment

0

u/ischickenafruit May 30 '26

I don’t like false advertising. If someone says ‘fast’ they should quantify that. It’s the only reason I looked. The world doesn’t need yet another vector implementation. We have enough. But if there’s some fast tricks then that’s interesting. Turns out there are none. Just another potentially buggy, not particularly fast implementation.