Skip to content

Commit 6a87c26

Browse files
committed
Avoid repeated hash computation, reduce irept::dt size
On SV-COMP benchmarks, hashing accounts for >22% of CPU time (with profiling enabled).
1 parent 1893fdb commit 6a87c26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/irep.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Author: Daniel Kroening, [email protected]
1818
#include "irep_ids.h"
1919

2020
#define SHARING
21-
// #define HASH_CODE
21+
#define HASH_CODE
2222
#define USE_MOVE
23-
// #define SUB_IS_LIST
23+
#define SUB_IS_LIST
2424

2525
#ifdef SUB_IS_LIST
2626
#include <list>

0 commit comments

Comments
 (0)