]> www.ginac.de Git - ginac.git/commit
Remove exhashmap<T> class.
authorRichard Kreckel <kreckel@ginac.de>
Sun, 22 Sep 2019 11:19:00 +0000 (13:19 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sun, 22 Sep 2019 11:19:00 +0000 (13:19 +0200)
commitfe3af74fb8c8af4c8ab008c4788a7755b602db08
treef9fb3d51ce0a7719f400bd8079ec1314bfb65f3c
parent452e51c8a3b84c368ae3ba2e60dacbc1985e7b5c
Remove exhashmap<T> class.

Class exhashmap<T> was a workaround for missing std::hash_map<Key, T>
in the original C++98 standard. It was put in GiNaC because map<Key, T>
was deemed too slow. Since C++11 there is std::unorderd_map<Key, T>,
which is hash-based. To be able to use it, add specializations of
std::hash<ex> and std:equal_to<ex>.
check/CMakeLists.txt
check/Makefile.am
check/exam_hashmap.cpp [deleted file]
check/time_hashmap.cpp [deleted file]
doc/tutorial/ginac.texi
ginac/ex.h
ginac/hash_map.h