D vs. ISRs (interrupt service routines) or Which D language features implictly allocate memory?
Thomas Kuehne
thomas-dloop at kuehne.cn
Sat May 5 16:38:33 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sean Kelly schrieb am 2007-05-05:
> As others have said, string concatenation (via ~), the .dup property,
> insertions into AAs (and possibly removals as well), and 'new' calls.
> Those are the only language features I can think of that allocate.
Depending on the libary implementation
"foreach(char c; dchar[])" and .sort might heap allocate too.
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFGPRV1LK5blCcjpWoRAjspAJ42LxmQu5sNLU8t/IStgm261U7PsACfdDyJ
klJ8ep2FQsLUfleNxptP9M8=
=ZKOd
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list