Closed p5pRT closed 14 years ago
Any decent compiler should optimize this out at compile time if the index can't possibly exceed the array bounds\, which are 256 long.
@rgs - Status changed from 'new' to 'resolved'
On 1 September 2010 04:26\, karl williamson \perlbug\-followup@​perl\.org wrote:
Any decent compiler should optimize this out at compile time if the index can't possibly exceed the array bounds\, which are 256 long.
Thanks\, applied to bleadperl.
On 2010-09-01 04:26\, karl williamson wrote:
#define isALNUM(c) (isALPHA(c) || isDIGIT(c) || (c) == '_')
Why is the underscore in isALNUM?
perl -wle 'print "_" =~ /[[:alnum:]]/ ? "in" : "out"' out
-- Ruud
Dr.Ruud wrote:
Why is the underscore in isALNUM?
For hysterical reasons\, "alnum" in Perl's "isALNUM" does not mean "alphanumeric". It means "identifier character"\, as in \w.
-zefram
Migrated from rt.perl.org#77600 (status was 'resolved')
Searchable as RT77600$