|
|
|
|
|
by sumtechguy
758 days ago
|
|
> I love this stuff. I think it’s pretty rare to find a reason to code your own collection types these days, but it certainly comes up from time to time! Absolutely! That is one of the places you want to use that style of programming. As the base classes and built in structs do not really cover it yet. Also as a counterpoint sometimes the built in ones have some very interesting degenerate cases. I had one in an old library that basically doubled its memory footprint every time you exceeded its buffer. That was a point to change it to be a fixed allocation or something else. If i had no idea of the fundamentals I would have been totally in the weeds and no idea why it was doing it. |
|