specialized methods for fast reduction of tuples
Merge pull request #3499 from lindahua/tuple_reduc

specialized methods for fast reduction of tuples