numpy/numpy — pull request #4296 by juliantaylor (2014-02-15 13:18:19+00:00)
Title: minor fasttake performance improvement

hint that nelem == 1 branch is more likely
improves performance for simple takes by 10%, chunked takes spend more
time copying so the less dense code matters less.

also add a hint to the error case of check_and_adjust_index, not required with gcc but can't do any harm either.