Skip to content

Commit 23fea45

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 a695814 commit 23fea45

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,8 +18,8 @@ Author: Daniel Kroening, [email protected]
1818
#include "irep_ids.h"
1919

2020
#define SHARING
21-
// #define HASH_CODE
22-
// #define SUB_IS_LIST
21+
#define HASH_CODE
22+
#define SUB_IS_LIST
2323

2424
#ifdef SHARING
2525
#include "cow.h"

0 commit comments

Comments
 (0)