View Single Post
Old 01 December 2015, 19:24   #30
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,187
I was thinking of the C64 version. The ANSI/ISO C standard assumes that an array index is type int and an int is no smaller than 16 bits. This requires expensive pointer arithmetic on a zero page register followed by an indexed indirect lookup. If C allowed 8 bit indexing, it would be another story.
Samurai_Crow is offline  
 
Page generated in 0.07758 seconds with 11 queries