Bye bye, fast compilation times

psychoticRabbit meagain at meagain.com
Tue Feb 6 04:09:24 UTC 2018


On Monday, 5 February 2018 at 21:27:57 UTC, H. S. Teoh wrote:
>
> Comment out the call to `regex()`, and I get:
>
> ------
> real    0m0.285s
> user    0m0.262s
> sys     0m0.023s
> ------
>

regex is not the only one I avoid..

how long you think this takes to compile?
(try ldc2 too ..just for laughs ;-)

----
import std.net.isemail;

void main()
{
     auto checkEmail = "someone at somewhere.com".isEmail();
}
----


More information about the Digitalmars-d mailing list