openworm / owmeta-core

Core library for owmeta
MIT License
3 stars 2 forks source link

Reduce Context statement memory footprint #10

Open mwatts15 opened 5 years ago

mwatts15 commented 5 years ago

When a DataObject declared in a context, it creates one or more Statement objects. These statements hold references to the objects they come from which, for large numbers of objects, adds up to a considerable memory footprint. This task is to identify just those fields needed for saving and validating statements and create smaller objects with just that information.