If we duplicate core names and labels, it would lead to a minimum additional 
memory usage of 313 bytes (in 34 blocks) for groups and 6626 bytes (in 294 
blocks) for items.  If we assume a `sizeof(size_t)` overhead per block (which 
is possibly exaggerated) it goes to 585 and 8978 bytes respectively.  This 
makes it about 10kb overhead.
In comparison, running Geany with a few small files open seem to use about ~60M.

I don't mind either way, but I like prettier code with less gotchas.  I'll 
however commit a current-ish version of this for the moment, but I'd happily 
merge a full-copy cleanup for both groups and items post-1.28.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1126#issuecomment-231486313

Reply via email to