I compared the speed between different implementations of the solution for the 0-1 knapsack problem. I found quite a nifty vectorized solution to the problem.

Imagine we have a 2D array of values from which we want to create a 3D height map mesh. I was playing with Blender 3.0, which also supports python scripting and even numpy library. I was determined to create a 3D model of the boring 2D array.