If I wanted to really tax the Kotlin compiler to h...
# announcements
r
If I wanted to really tax the Kotlin compiler to help simulate long build times, anyone have a good idea of how to do that? I was thinking along the lines of writing a bunch of complex expressions but dunno if there are some alternatives
n
you could check out the IntelliJ source code ­čśŤ
but you might be like
calm down, Satan
(it takes 15+ minutes to compile)
­čśů 1
v
I point you to kotlin native and big blobs... https://youtrack.jetbrains.com/issue/KT-43475 - 1hr 45m.
a
Try to generate a 10000+ LOC file. I tried it a few months ago, it takes really long.
r
thanks for the suggestions!
Actually got some inspo and created a large unsigned byte array and it did the trick.