On Thursday, 17 December 2020 at 15:38:52 UTC, jmh530 wrote:
On Thursday, 17 December 2020 at 15:12:12 UTC, 9il wrote:
On Wednesday, 16 December 2020 at 16:14:08 UTC, jmh530 wrote:
On Wednesday, 16 December 2020 at 15:58:21 UTC, 9il wrote:
[...]

What about making it into a sub-package, as in here [1]?

[1] https://github.com/atilaneves/unit-threaded/tree/master/subpackages

It takes 0.1 seconds to compile mir-core with LDC in the release mode. It is almost all generic and quite fast to compile. We can, but dub doesn't always work well with submodules. Is there any other reason except compilation speed?

You can put it on code.dlang.org as a subPackage and people can download it without downloading all of mir-core. See below:

https://code.dlang.org/packages/unit-threaded

dub downloads the whole package if just a subpackage is required. The size of mir-core is less then 0.5 mb and 0.1 mb in Zip archive.

Reply via email to