News for hackers. Stuff that matters.
Re:Lessons learned while developing Age of Empires 1 Definit... by grigjd3 on Thursday February 15, 2018 @09:53AM (#16384421)
Not building custom containers is generally good advice. The chance you build something that underperforms is noticeable. Other coders won't know what you've made. There is a fair chance that std has what you need if you're even just a little bit thoughtful.
Re:Lessons learned while developing Age of Empires 1 Definit... by user5994461 on Thursday February 15, 2018 @07:05PM (#16388898)
Note that the stl containers were far from perfect a few decades ago.
Re:Lessons learned while developing Age of Empires 1 Definit... by grigjd3 on Thursday February 15, 2018 @08:42PM (#16389293)
Amazing what a few decades of development by talented and determined people can accomplish. Point is, my custom container that I wrote in an hour or so probably won't be as good.