You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with the suggested approach is that each null listener requires 4 bytes of memory.
One alternative is to keep the knowledge base immutable, add the interceptors to the knowledge base and everytime a concept is queried by the knowledge base it is wrapped in a way that those trackers are enabled.
The wrappers will have all the copied data from Concept and update the real data after changes.
I have no idea how heavy it will be but we need a way to be updated if a certain concept gets updated.
Concepts could have a list of listeners (can be empty) that are updated/called when there is a change.
The text was updated successfully, but these errors were encountered: