Add comments about double bounds-checking, and fast paths for rectangular arrays
authorsimonpj@microsoft.com <unknown>
Fri, 18 Dec 2009 16:56:55 +0000 (16:56 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 18 Dec 2009 16:56:55 +0000 (16:56 +0000)
commitc3ccd3464c798d57f6db8fd95ede905246acbee6
treed1a83da1ecd87120c07e116f809af7973d536b1c
parent2f01e7edb15fbb18e16b37dbada770c1b6db1528
Add comments about double bounds-checking, and fast paths for rectangular arrays

See Note [Double bounds-checking of index values] for the details.

The fast paths omit the doubled checks for cases we know about
GHC/Arr.lhs