3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-16 05:48:44 +00:00
Commit graph

19 commits

Author SHA1 Message Date
Nuno Lopes f1545b04d2 optimize symbol table for single-threaded mode
remotes a bunch of mem allocs + unnecessary computations on every string lookup
2021-05-23 16:35:44 +01:00
Nikolaj Bjorner 8e8e9be25f st
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-18 16:49:43 -07:00
Nikolaj Bjorner ff10afd226 remove thread dependency in symbol.cpp on single thread #4382
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-05-18 15:11:24 -07:00
Nikolaj Bjorner 9f964be3f4 add don't care option
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-12 17:00:05 -08:00
Nikolaj Bjorner 541658fe02 move to abstract symbols
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-10 12:14:13 -08:00
Nikolaj Bjorner 55554215ac add include of thread, build warning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-06 20:45:47 -08:00
Nikolaj Bjorner 670e8f8d67 reduce contention around the symbol table #2842
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-06 16:47:06 -08:00
Nikolaj Bjorner 05ad90c976 fix for null symbol #2712
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-11-18 12:55:24 -08:00
Nuno Lopes 87a96d7bd4 fix mutexes hanging due to access to free'd memory
Thanks to Kevin de Vos for reporting the bug & testing the fix
2019-09-03 20:02:21 +01:00
Nuno Lopes c21f0c2f00 restore most global muxes as heap-allocated to avoid crashes with hard-kills like ctrl-c 2019-06-13 18:42:57 +01:00
Nuno Lopes cf3e649462 fix crash on Mac due to different destruction order of globals
the mutex in memory_manager has to be destroyed after all mem deallocations happen
2019-06-13 11:22:18 +01:00
Nikolaj Bjorner 71c38a08e5 add initialization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-06-11 19:28:08 -07:00
Nuno Lopes a53ff6f21c turn locks into no-ops when compiled with -DSINGLE_THREAD 2019-06-05 12:11:27 +01:00
Nikolaj Bjorner 9262908ebb mux
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-06-05 09:06:17 +01:00
Bruce Mitchener a06bc49710 Let str_hashtable store const char*.
This removes some boilerplate const casting.
2019-01-06 12:15:31 +07:00
Nuno Lopes fc8193828d minor simplifications to symbol class 2018-07-02 11:43:00 +01:00
Bruce Mitchener 76eb7b9ede Use nullptr. 2018-02-12 14:05:55 +07:00
Nikolaj Bjorner b19f94ae5b make include paths uniformly use path relative to src. #534
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Leonardo de Moura 2c464d413d Reorganizing source code. Created util dir
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-20 10:19:38 -07:00
Renamed from lib/symbol.cpp (Browse further)