develooper Front page | perl.perl5.porters | Postings from August 2010

[perl #77600] PATCH: Add bounds checking to case changing array indices

Thread Next
From:
karl williamson
Date:
August 31, 2010 19:26
Subject:
[perl #77600] PATCH: Add bounds checking to case changing array indices
Message ID:
rt-3.6.HEAD-5116-1283307993-1630.77600-75-0@perl.org
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #77600]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77600 >


Any decent compiler should optimize this out at compile time if the 
index can't possibly exceed the array bounds, which are 256 long.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About