← Back to index
|
Original Bugzilla link
Bug 18384 – std.net.isemail is slow to import due to regex
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-06T13:36:09Z
Last change time
2018-02-13T14:54:52Z
Assigned to
No Owner
Creator
Nathan S.
Comments
Comment #0
by n8sh.secondary — 2018-02-06T13:36:09Z
Mention on forums:
https://forum.dlang.org/post/
[email protected]
Solution is to remove use of std.regex.
Comment #1
by n8sh.secondary — 2018-02-06T13:48:08Z
Pull request:
https://github.com/dlang/phobos/pull/6129
Comment #2
by github-bugzilla — 2018-02-13T14:54:51Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/06e40304b21a29420b40c3f2b8d4edeeaf96aa1f
Fix Issue 18384 - std.net.isemail is slow to import due to regex Solution is to remove regex from std.net.isemail. May be worth revisiting if std.regex compile times improve.
https://github.com/dlang/phobos/commit/cbd6cf154c13bb54000ab685be85176122d5dc43
Merge pull request #6129 from n8sh/isemail-noregex Fix Issue 18384 - std.net.isemail is slow to import due to regex merged-on-behalf-of: Steven Schveighoffer <
[email protected]
>