develooper Front page | perl.perl5.porters | Postings from January 2009

RE: Even faster Unicode character counting

Thread Previous | Thread Next
From:
Jan Dubois
Date:
January 29, 2009 13:19
Subject:
RE: Even faster Unicode character counting
Message ID:
016f01c98257$07ded720$179c8560$@com
On Thu, 29 Jan 2009, karl williamson wrote:
> The C standard guarantees that one can address one more than
> the maximum size of a pointer's data, 

You can have a pointer that points "just beyond" the allocated size of
an array, but you are not allowed to dereference it. It is only valid
for comparison with other pointer values, or for subtracting another
pointer from it that also points either inside or just beyond the same
array object.

Cheers,
-Jan


Thread Previous | 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