Open
Description
As @dbukki discovered in #714 (comment), multiple CppFunction
entities are persisted for each function: one for each declaration and one for the definition.
It should be examined whether these multiple entities are truly required or not. Key aspects to focus on during the examination:
- Are separate entities for each declaration required or not? E.g. is it used for persisting different possible default argument values for the parameters?
- If a separate entity for each declaration for each declaration is not required, is it required at all to store a
CppFunction
entity for declarations, or maybe is it enough to store one for the definition? What will happen in such a case when a function does not have a definition, but only declaration? Would the Info Tree still be able to show the available information about the function? - Analyze how these changes affect the database size for e.g. a Xerces-C++ sized project.