Re: Password Generator
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Oct 2005 13:22:06 +0200
"Dr John Stockton" <jrs@xxxxxxxxxxxxxxxxxx> wrote in message
news:equb2pIzkhYDFwme@xxxxxxxxxxxxxxxxxxxxx
[...]
> For some string types, length(s) is expensive, and should be done at
> most once in the routine; at least in Pascal, it can be done at compile
> time.
Shortstring has the length as the byte at offset 0, ansistring as the
dword at offset -4 or -8, I'm not sure which and it doesn't matter much.
But in Delphi, Length() is not an expensive function unless you go out
of your way to pass it a PChar.
Groetjes,
Maarten Wiltink
.
- Follow-Ups:
- Re: Password Generator
- From: J French
- Re: Password Generator
- References:
- Password Generator
- From: Ryan Styles
- Re: Password Generator
- From: Charles Appel
- Re: Password Generator
- From: Dr John Stockton
- Re: Password Generator
- From: Nicholas Sherlock
- Re: Password Generator
- From: Maarten Wiltink
- Re: Password Generator
- From: Dr John Stockton
- Password Generator
- Prev by Date: webcam capture
- Next by Date: Re: Password Generator
- Previous by thread: Re: Password Generator
- Next by thread: Re: Password Generator
- Index(es):
Relevant Pages
|