Open
Description
Currently they are unnecessarily quadratic - underneath they just use +. We can be easily improve that by using a builtin that builds the result array in one go. This was already done in experimental Go version using flatMap
builtin.
Related #222.
Ideally it would be verified automatically by some benchmarks (#360).