Hacker News new | ask | show | jobs
by benkuykendall 749 days ago
Maybe in some cases, but the performance characteristics are way different. The functions in `more_itertools` return lazy generators, but it looks like `np.flatten` materializes the results in an ndarray.