该提问来源于开源项目:gcanti/fp-ts
May we go the path were we switch the implementation based on the length?
IMO no. I'm fine with some changes if the resulting code is not too messy and the gain is big (3x-4x) but I wouldn't go that route