Closed
Description
Our homebrew HTML DSL avoids some boilerplate by reflecting on the field names of the HTML ADT.
Our compiler benchmark typically don't load scala runtime reflection. Doing so loads extra subclasses of Symbol
, which could make some methods harder for JIT to devirtualize.
Maybe I'm being paranoid, but I'd sleep better if we used Java reflection, or some boilerplate, instead.
Actually, on re-starring we'll get productElementName
, which might do the trick.