[OpenWrt-Devel] [PATCH][RFC] opkg: add License to info command

Jo-Philipp Wich jo at mein.io
Mon May 13 06:07:29 PDT 2019


Hi,

please make sure that the license info is only parsed when it is required by
the toplevel command being executed, look at the other usages of the PFM_*
macros in the source.

Without this, the in-memory representation of the package trees will consume
way more RAM due to the redundant license string copies held by each abstract
package node.

~ Jo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190513/67518f59/attachment.sig>


More information about the openwrt-devel mailing list