Hi,
I'm looking at the API, and am wondering how it can be simplified, and
also looking at the memory profile of Qi4j. One thing I noticed is that
since Property has PropertyInfo, i.e. you can ask a property about its
metadata, that causes an extra field in all properties, although it will
be fairly rarely used.
Since the PropertyInfo is reasonably easily accessible from the various
descriptors, I'm considering whether we should change this, so that
Property does not extend PropertyInfo. It will then only have the
get/set methods. This will minimize the memory footprint, and also make
it easier to do the ComputedPropertyInstance, since no PropertyInfo
needs to be provided.
The main question is: is it ok if clients have to go through the
metadescriptors rather than ask a property for the metainfo?
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev