sort a string
notna
notna.remove.this at ist-einmalig.de
Sat May 2 17:48:00 UTC 2020
On Friday, 1 May 2020 at 19:25:43 UTC, Steven Schveighoffer wrote:
>
> Nice! Yeah, I was sloppy in my newsgroup coding, sorry.
>
> One minor nit here, the to!(dchar[])(word.dup), the dup is not
> necessary, you are going to end up allocating a temporary array
> and throwing it away.
>
> Just do word.to!(dchar[]). `to` takes care of all the
> formalities.
>
> -Steve
THANK YOU for all the great hints and explanations here and in
general in this NG, Steve!
No blaming for the "sloopy code" at all. I should have seen the
missing [] by myself, but...
_AND_ btw. your hint with the "release" was key to the discussion
/ solution anyhow! :)
More information about the Digitalmars-d-learn
mailing list