Question #234129 on Yade changed:
https://answers.launchpad.net/yade/+question/234129

Bruno Chareyre proposed the following answer:
@Vaclav
Interesting, thanks.
Now it is more clear for me why functorCache is so necessary.
Does it mean there is no better way in the present situation?

Would it make sense to add an "int index" to each Indexable and
initialize it once, like:
serializable.index = serializable.getClassIndex(); //? (just speculating)

Bruno

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to