Sebastian Schuberth
07/17/2024, 3:24 PMJson.decodeFromString(file.readText())
vs. file.outputStream().use { Json.decodeFromStream(it) }
?ephemient
07/17/2024, 3:31 PMephemient
07/17/2024, 3:32 PMSebastian Schuberth
07/17/2024, 3:37 PMSebastian Schuberth
07/17/2024, 3:39 PMephemient
07/17/2024, 4:54 PMSebastian Schuberth
07/17/2024, 5:34 PMCLOVIS
07/19/2024, 9:44 AMDo you have any pointers to benchmarks for that?https://github.com/Kotlin/kotlinx-benchmark If you do write your own microbenchmark though, I highly recommend posting it here, because it's notoriously easy to write them wrong, so you'll want it to be reviewed by other people
Sebastian Schuberth
07/19/2024, 9:52 AM