News for hackers. Stuff that matters.
Re:What to use instead of std::set [pdf] by Roboprog on Friday August 26, 2016 @01:20AM (#12364376)
Thanks for the follow up. I don't expect a particular order if I spin through the contents of a set, but it hadn't occurred to me how expensive it might be simply to get the sequence.

This makes a good example of when "polymorphism" or "strategy patterns" are useful to swap in and out how you do some related things to fit what actually ended up happening in an app.

There are no comments on this comment yet.