From: J-Van Date: 2006-11-28T06:32:56+09:00 Subject: Re: Two Advanced Ruby Performance Questions On 11/26/06, Sunny Hirai wrote: > Is there a way (or does it do this already) for the Classes of the > application to be cached such that it doesn't add performance overhead? > Because it is such a dynamic language, my understanding is that the > classes themselves are created at run-time and DO add overhead before > any object instantiation occurs. My guess is that this would still > happen under YARV too? Ruby classes are created/loaded once at run-time. In ActiveRecord, the classes are loaded at the start of the process. They aren't reloaded after that (unless you want them to be -- like in "development" mode). Joe