4 ms·
Even Object.toString could do this using reflection. If you're worried about the performance, override it. I never understood why this is not the case (doesn't
by chopin 7y ago
Even Object.toString could do this using reflection. If you're worried about the performance, override it. I never understood why this is not the case (doesn't Haskell do something similar?).