2019-02-04 BranchingΒΆ

I wanted to test some facts described in the following blog post: Why is it faster to process a sorted array than an unsorted array?. I ended it writing this notebook Measures branching in C++ from python which compares a couple of implementations of the same computation, a dot product.