> So the OP's technique, if not the prettiest, is actually by far the > fastest, and is correct when used with nested arrays. Some of the other > solutions (that use flatten) are incorrect when used with nested arrays. What is meaning for OP here? Thanks, Li -- Posted via http://www.ruby-forum.com/.