Cedric Beust
Cedric Beust
Hi, Interesting, I'll see if I can replicate these results and I'll get back to you.
What do you mean by threading? Klaxon is single threaded.
Something is indeed wrong, this: ``` class ErrorMessageData(val message: String) val string = """{"message":"This is a test message!"}""" val t = measureTimeMillis { val errorMessage = Klaxon().parse(string) } println("Time: $t...
Initial investigations seem to point to a problem in `KClass::memberProperties`. ``` class ErrorMessageData(val message: String) val r = measureTimeMillis { ErrorMessageData::class.memberProperties } println("Time: $r ms") ``` Produces: ``` Time: 1126...
Done: https://youtrack.jetbrains.com/issue/KT-33760
I started looking into this and it's not going to be easy: Klaxon uses `kotlin-reflect` pervasively so that change has a big impact on the code base. Not saying I...
The problem is that all these types from `kotlin-reflect` cannot be constructed from outside `kotlin-reflect`, so I'm going to need to create a parallel hierarchy and transfer objects from Java...
I spent some time working on this, trying to rip out as much of `kotlin-reflect` as I could and I'm hitting a dead end where using Java reflection makes me...
Alexander, from the Kotlin team, added a comment: https://youtrack.jetbrains.com/issue/KT-33760#comment=27-3721332: > The initialization of kotlin-reflect indeed takes a lot of time, but subsequent accesses should be a lot faster. Unfortunately, this...
Yes, converters should be invoked for items inside a collection. I might have made a mistake closing that bug, give me some time to read what you wrote above carefully.