Dear all,
Miles pointed me at the new cachedImplicit in shapeless, but I'm struggling to understand how it is better than just explicitly constructing an `implicit val` and then ensuring that I reuse that.
https://github.com/milessabin/shapeless/search?utf8=%E2%9C%93&q=cachedImplicit
And, a much bigger ask, how it could improve the performance of my spray-json-shapeless framework (which is pretty stable now)?
There was also some hint that the cachedImplicit might be friendlier with the presentation compiler (I'm seeing ENSIME blow up a lot these days since using shapeless more heavily, so we'll need to write a workaround for that in ensime, as well as me better understand good shapeless practice)
https://github.com/ensime/ensime-server/issues/954
Best regards,
Sam