On 2/28/06, Stefan Kaes <[EMAIL PROTECTED]> wrote: > Tom Ward wrote:
> > A second line of attack is the allows_concurrency flag itself. I > > can't think when you'd ever want it to be false. > FCGI is single threaded. By having the flag, we can optimize AR for > single threaded apps. True, but to me the existing optimization extremely premature. With allow_concurrency = true @connection_cache is a hash of hashes, while when false its just a single hash. The only saving (when running single threaded) is a single hash lookup. This can't be worth the extra complication in the code, can it? Tom Ward
_______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
