Patch Set 1: (1 inline comment)

Super. I am waiting for your proposal. I don't count the number of if's, but we have to take care that the main loop inside merge doesn't degrade performance-wise. If we can't achieve this copying the code would be ok.