Closed emyarod closed 6 years ago
Hi @emyarod
Thanks for your contribution, but I don't think this optimization is necessary, cuz it's not quiet readable and understandable.
nba-go
has imported ramda
, so maybe you could use it for optimization.
Cheers 😄
Small optimization...probably not worth it, but this allows you to iterate over the command list just once with
.reduce
instead of twice with.map
and.filter