Skip to main content
8 events
when toggle format what by license comment
Sep 22, 2019 at 14:21 answer added Donat timeline score: 2
Sep 22, 2019 at 13:14 history edited dfhwze CC BY-SA 4.0
edited tags
Jul 10, 2017 at 0:35 comment added ndm13 The first example has no casting at all. Therefore, if you happen to get a Kitten or something weird like that, it'll just print a stringified version of it using Object#toString(). This may or may not be what you want.
Jul 4, 2017 at 21:33 comment added Roland Illig The bytecode doesn't matter at all. Only the generated machine code matters.
Jul 4, 2017 at 14:16 comment added RubberDuck Another approach, in this case, would be to study the resulting bytecode to see how similar they are.
Jul 4, 2017 at 14:15 comment added RubberDuck The single best way to know what (if any) performance difference exists is to benchmark it yourself.
Jul 4, 2017 at 14:01 review First posts
Jul 4, 2017 at 14:28
Jul 4, 2017 at 13:56 history asked felix CC BY-SA 3.0