From: Eero Saynatkari Date: 2009-10-06T19:05:09+09:00 Subject: [ruby-core:25957] Re: Disabling tainting Excerpts from Tony Arcieri's message of Tue Oct 06 07:33:28 +0300 2009: > I'm sure there's a solution (function pointer or otherwise) that would > eliminate the need to branch on "do we have to do taint checking" every > single time a message is dispatched which would work for MRI/YARV, even if > it were a runtime flag. Only if the taintedness were always checked in method dispatch, I think. Currently taint is checked individually by various methods, so you would need to either provide non-checking versions of each or you end up testing for a flag anyway. Both it and freezing could certainly be compile-time options. Eero -- Magic is insufficiently advanced technology.