edicl / cl-unicode

Portable Unicode library for Common Lisp
https://edicl.github.io/cl-unicode/
61 stars 24 forks source link

Fix keyword bloating in DEFPACKAGE :EXPORT clauses #31

Open kilianmh opened 2 years ago

kilianmh commented 2 years ago

Replace keywords in defpackage :export clauses with uninterned symbols. This avoids interning them in *package*, which should simplify autocompletion and may improve garbage collection.

gefjon commented 2 years ago

Can you get the symbol names in the import-from cl-ppcre clause as well?

kilianmh commented 2 years ago

The symbol names in the:import-from clause are now also uninterned instead of keywords.

kilianmh commented 2 years ago

Reverting DEFPACKAGE :IMPORT-FROM package name to KEYWORD, which should improve readability without unnecessary expansion of *PACKAGE*.