tiny optimization for numeric vector