Lazy assessment with startup and the need for a ruby?

With my code, I use autoload for lazy evaluation, so I can load the program faster and upload files when necessary, I don’t see so many people who use it, but with a thin project I noticed that autoload is widely used, anyway I just want to know if there is a risk of using it.

+5
source share
1 answer

autoload not threadsafe and will be deprecated in future versions of Ruby. Here is the proof of Matz (ruby creator).

+13
source

All Articles