On Monday, 2 March 2020 at 11:33:25 UTC, jmh530 wrote:
On Sunday, 1 March 2020 at 20:58:42 UTC, p.shkadzko wrote:
Hello again,

[snip]


What compiler did you use and what flags?

Ah yes, sorry. I used latest ldc2 (1.20.0-x64) for Windows.
Dflags -mcpu=native and "inline", "optimize", "releaseMode".

Here is a dub.json of the project:

{
        "name": "app",
        "targetType": "executable",
        "dependencies": {
        "mir": "~>3.2.0"
        },
        "dflags-ldc": ["-mcpu=native"],

        "buildTypes": {
                "release": {
                        "buildOptions": ["releaseMode", "inline", "optimize"],
                        "dflags": ["-boundscheck=off"]
                },
                "tests": {
                        "buildOptions": ["unittests"]
                }

        }
}

Reply via email to