Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は非常に大きな Ruby モジュールを作成しました。約 3 ~ 4 秒でロードされます。ほとんどの場合、必要な機能は 1 つだけです。物事をスピードアップするために、モジュールからその特定の機能のみをロード/要求することは可能ですか?
モジュールからその特定の関数のみをロード/要求することは可能ですか?
いいえ。巨大なモジュールをいくつかの小さなモジュールに分割します。