These are chat archives for mdedetrich/scala-json-ast
Stringit's relatively easy to see what's going on
libraryDependencies += "com.github.ichoran" %% "kse" % "0.4-SNAPSHOT"
Jast.parse(whatever)is probably the best thing to benchmark.
unsafe, especially after the performance hit I got from
nullinsanely fast from
.toDoubleat all. Just compute off the string directly.
.toDoubleis faster than computing the hash code, right?
val long = java.lang.Double.doubleToLongBits(asDouble), else we just compute off the string, which is much more expensive (but it will only do that for really large numbers)
toDoubleis in the sheme of things (which is hard to calculate). The treatment of zeroes right now is fairly dumb though