array bounds check performance?