It is quite sad that a paid content like one from Pluralsight could provide a very bad advices on how to measure performance or how to use one or another language feature.
Spoiler: the benchmarking code had quadratic complexity instead of linear. Yes, in the course on performance.
What the author means is that they thought that the complexity was O(n^2) for two different reasons, but it turned out that only one of those reasons was valid. But abusing big-O notation is not a good way to express that.
Spoiler: the benchmarking code had quadratic complexity instead of linear. Yes, in the course on performance.