[Issue 15950] Wish: __compressed_import("file.ext");

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 26 12:14:36 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=15950

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang-bugzilla at thecybershad
                   |                            |ow.net

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to ponce from comment #0)
> I've considered using CTFE to ZIP imported resources, but was advised not
> to. It may be prohibitive and use a lot of memory. It's an option though,
> perhaps the reasonable one.

Instead of using CTFE, how about compressing them as part of your build, and
decompressing them at runtime?

Using CTFE might be more realistic with Stefan's upcoming new CTFE engine.

--


More information about the Digitalmars-d-bugs mailing list