vimwiki/tech/vector.wiki

17 lines
279 B
Plaintext

= Vector =
Like an array, but takes care of resizing
== Good for ==
* Fixed size sets of data
* Acessing an index in O(1)
* Data that doesnt change often
== Bad for ==
* Data that will change sizes often
* Data when you need to search by contents, not index
[[algorithms]]