Motivation
Part of #266
Saw that we can generalize the FoldingScheme with little effort
We don't expect any more FoldingScheme for one incoming, so keeping a separate base trait for that is unnecessary
Overview
Just added a generic with a folding number size of incoming and made a basic FoldingScheme with a size of incoming equal 1
Because of this, in some places it became easier to store an array instead of a single element, however, there is no memory overhead. However, even this feature can be simplified, let me know if you find it critically incomprehensible
Motivation Part of #266 Saw that we can generalize the
FoldingScheme
with little effortWe don't expect any more
FoldingScheme
for oneincoming
, so keeping a separate base trait for that is unnecessaryOverview Just added a generic with a folding number size of incoming and made a basic
FoldingScheme
with a size of incoming equal1
Because of this, in some places it became easier to store an array instead of a single element, however, there is no memory overhead. However, even this feature can be simplified, let me know if you find it critically incomprehensible