Posted inExperience / Information Technology

A std::vector Example and Explanation

If you want a really good method of identifying a legacy C++ library/framework, see if it provides a vector class. For C this would be a set of vector functions. Arrays in C and C++ are hard coded at compile time. This dates back to the beginning of the languages. During the early 1980s VAX BASIC was the only widely used programming language supporting dynamic arrays. You may not be familiar with BASIC but the … A std::vector Example and ExplanationRead more

Posted inInformation Technology

16 Minutes to Build a QList

It took CopperSpice almost 16 minutes to build the same QList Qt built in under a second. I have spent more than a day creating the test case and running the test data. It is currently 6:24pm local time. I started my callgrind test of this at about a quarter to 2pm. It’s still running. Here are the current stats. Here is the code: The Qt version is a CMake project. I developed this on … 16 Minutes to Build a QListRead more