Thread Previous • Date Previous • Date Next • Thread Next |
On 05/12/10 16:31, Anders Logg wrote:
It would be good to move the id() function to the Variable class. That way we have it for free for all classes that subclass Variable (which are most classes). The overhead will be minimal.
I'm not so sure. It needs to be used with some care in the multi-threaded case, and putting it in Variable would mean that we have to worry about thread issues for any Variable sub-class.
Garth
-- Anders _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp
Thread Previous • Date Previous • Date Next • Thread Next |