]> www.ginac.de Git - ginac.git/commit
symbol: get rid of assign/unassign (for performance and other reasons).
authorAlexei Sheplyakov <varg@theor.jinr.ru>
Tue, 9 Sep 2008 07:14:57 +0000 (11:14 +0400)
committerAlexei Sheplyakov <varg@theor.jinr.ru>
Tue, 9 Sep 2008 10:17:07 +0000 (14:17 +0400)
commit1776cd33da528c878ef1fb5530f8ac788e445ee5
tree23dac74c68a482f0a7a0651380ed680761d7a641
parenteaa0370ac188561e02195a377b252b4caf5ab57a
symbol: get rid of assign/unassign (for performance and other reasons).

* symbol::eval() is trivial now, so compiler can inline it in some cases.
* symbol takes less memory.
* no functionality is lost (as C++ has associative arrays).
ginac/symbol.cpp
ginac/symbol.h