streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Fast chunked cross product

Open harendra-kumar opened this issue 5 months ago • 0 comments

Experimental idea: Currently cross product style streams are slow because they work on a per element basis and it does not fuse. The cross product using unfolds is extremely fast because it fuses. A good way to make stream cross products fast is by using stream of arrays and perform cross product of arrays using unfolds. This could help in implementing a faster logic programming monad.

harendra-kumar avatar Jul 17 '25 07:07 harendra-kumar