<Kotlin: Most efficient way of comparing two list ...
# stackoverflow
u
Kotlin: Most efficient way of comparing two list objects using - Webflux I have two lists each with 20,000 objects, the lists are two separate data types that I would like to compare. My two list objects types are shown below: List 1 type: data class FastUser( val fastUserId: String?, val fUserName: String?, ) List 2 type: data class SlowUser( val slowUserId: String?, val sUserName: String?, ) And finally my Result Type: data class Result( val slowUser: SlowUser, val fastUser: FastUser, val similarityScore: Int, // Can be between 0 - 1 only accepting >= 0.5 )...