Sandeep Datta:I am just going to leave this here... *Fast Bounds Checking Using Debug Register* http://www.ecsl.cs.sunysb.edu/tr/TR225.pdfIs this idea usable in DMD to speed up D code compiled in non-release mode?Bye, bearophile
Array accesses are already bounds checked in a much more reliable way thanwhat the paper proposes. Furthermore the solution in the paper needs kernel support.