From: murphy Date: 2007-12-12T05:14:42+09:00 Subject: Re: redefineable not operator Yukihiro Matsumoto wrote: > |- can someone give an example where it would be useful to redefine !, > | != or !~? > > For example, > > big_sized_narray.delete_if{|x| x != 0} > > to invoke x.!= which creates C coded filter, to avoid evaluating a > block for each elements in the NArray. sorry, I don't get this example. !![murphy]