33 karma · joined December 7, 2019
There is also a command line utility that accompanies the library: https://github.com/nixer-io/nixer-spring-plugin/tree/master/....
It is not FastAI fault though.
When a new exception object is created, the slowest operation is filling information about the stack trace. It is possible to override Exception's fillInStackTrace() with an empty implementation. In this case throwing exceptions with new exception objects, is only slightly slower than using one exception object (17ms vs 15ms for 1M throws).
Deeper stacks make difference even bigger. Adding 100 nested invocations to the stack slow downs the classic approach (a new exception object created just before invocation) to 9 seconds, while alternative approaches are not affected.
Even if we find that life on Mars has common roots with life on Earth, it will be gives us new perspective on early life forms plus we will learn that lifeforms could survive interplanetary trips without special protections.
In the longer term (hundreds of years), humanity should be worried exhausting non-renewable resources, but in a shorter perspective the climate change is a bigger concern.