MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3c71qc/fast_as_c_how_to_write_really_terrible_java/cstopbq
r/programming • u/javinpaul • Jul 05 '15
394 comments sorted by
View all comments
Show parent comments
2
Isn't generating the stack trace expensive? I know in the .net CLR it is expensive
5 u/zenflux Jul 06 '15 It is, however if the exception is ignored it is theoretically possible for compilers to see that the stacktrace generation is dead code and elide it. 3 u/snailbot Jul 06 '15 It is
5
It is, however if the exception is ignored it is theoretically possible for compilers to see that the stacktrace generation is dead code and elide it.
3
It is
2
u/UMadBreaux Jul 06 '15
Isn't generating the stack trace expensive? I know in the .net CLR it is expensive