If it was a padded INT it would need bounds checking.
As I dont think it is a padded int, it doesnt. (It was a badly delevered NOR example)
I was pointing out that it didnt need bounds checking, because of its size. Which it would have needed if Flames suggestion about the padded ints was right.
A single byte needs the same space as an Int, two btyes need the same space as an int etc
Edit: What was sudgested was that there wouldnt be a significant increase in size. And that Bytes would be stored as INTs. If this was so there would need to be some bounds checking placed ontop of the int. As both you and I proved, this was not so.
As I dont think it is a padded int, it doesnt. (It was a badly delevered NOR example)
I was pointing out that it didnt need bounds checking, because of its size. Which it would have needed if Flames suggestion about the padded ints was right.
A single byte needs the same space as an Int, two btyes need the same space as an int etc
Edit: What was sudgested was that there wouldnt be a significant increase in size. And that Bytes would be stored as INTs. If this was so there would need to be some bounds checking placed ontop of the int. As both you and I proved, this was not so.