<Efficiently matching two Flux> I have two Flux wi...
# stackoverflow
u
Efficiently matching two Flux I have two Flux with 2 different data types as shown below: Flux dogs = loadDogsFromFile() Flux men = loadMenFromFile() data class Dog( val name: String, val ownerName: String, ) data class Man( val name: String, val dogOwnerName: String, ) As you can see the one field we can use to match these two Flux objects is dogOwnerName. Right now this is how I am comparing them val disposable = dogs.flatMap { dog-> men.map { man-> val isEqual =...