[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Avoid dropping -emit-types-file and -emit-inli
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Avoid dropping -emit-types-file and -emit-inline-file when compiling statically |
Date: |
Sat, 13 Oct 2018 10:34:22 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
Hi all,
I found out about this issue yesterday while porting sql-de-lite:
https://bugs.call-cc.org/ticket/1550
I noticed that the egg compilation code specifically drops the
options -emit-types-file and -emit-inline-file for performance
reasons. It doesn't look like that has such a huge impact on
performance (at least for small files), and it breaks compilation
of components which depend on another component's types file or
inline file. So it looks like a case of premature optimization :)
The patch is very straightforward: it simply removes the offending
code that drops these options.
Cheers,
Peter
0001-Do-not-try-to-be-clever-also-emit-type-inline-files-.patch
Description: Text Data
signature.asc
Description: PGP signature
- [Chicken-hackers] [PATCH] Avoid dropping -emit-types-file and -emit-inline-file when compiling statically,
Peter Bex <=