optimization icon indicating copy to clipboard operation
optimization copied to clipboard

Throw away 'Triple' and 'Pair' in favour of 'Sequence'

Open pietervdvn opened this issue 7 years ago • 1 comments

Triple and pair can be represented as a sequence with resp. 3 or 2 elements. This way, lots of functions can be generalized, resulting in less code duplication without performance loss.

I will experiment a little with a decorator.

pietervdvn avatar Apr 27 '18 18:04 pietervdvn

👍

xivk avatar Apr 30 '18 11:04 xivk