From: Eric Wong Date: 2011-11-23T08:51:08+09:00 Subject: [ruby-core:41228] Re: autoload will be dead Yukihiro Matsumoto wrote: > Today, I talked with NaHi about enhancing const_missing to enable > autoload-like feature with nested modules. But autoload itself has > fundamental flaw under multi-thread environment. I should have remove > autoload when I added threads to the language (threads came a few > months after autoload). Hi, many of my Ruby scripts/apps are single-threaded and I would like to keep memory usage down. How about keeping autoload unchanged for single-threaded use and have modules registered via autoload instantly require everything registered when Thread.new is called?