Reflections on isPalindrome
"Nordlöw" via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Oct 27 09:59:17 PDT 2014
On Monday, 27 October 2014 at 12:10:59 UTC, Marc Schütz wrote:
> You could add an early `return false;` if the range has length
> and it is less than minLength.
See update :)
Thanks!
More information about the Digitalmars-d-learn
mailing list