From: Victor Shepelev Date: 2006-04-28T07:49:29+09:00 Subject: nil? takes much time Hello all. In one my class I've had very simple method: ... def stored? !@db.nil? end ... And I've suddenly noticed (due to profile) that nil? Takes a significant amount of time here. Redefining the above method like def stored? @db end (in if's it works good) speedups the entire program. I'm a bit surprized :) Victor.