In java, does a reactive backend (webflux) have any special interactions with memoization or sorting?
Like say my task is to conduct a process that requires memoization.
Maybe I am generating fibonacci numbers from 1 to 100 (huge ass number) and then sorting them.
I will eventually emit these through a REST api.
Can using a Flux or reactive program affect this process (negatively or positively)? I don't know how to properly use a flux with this?
My plan is to manually do the memoization and merge sort (with primitives and Java arrays) and then just convert the array to a Flux at the end. But i don't know if this is optimal