Skip to content

Commit ca5192a

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 b034ba3 commit ca5192a

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

1919
#define SHARING
20-
// #define HASH_CODE
21-
// #define NAMED_SUB_IS_FORWARD_LIST
20+
#define HASH_CODE
21+
#define NAMED_SUB_IS_FORWARD_LIST
2222

2323
#ifdef NAMED_SUB_IS_FORWARD_LIST
2424
#include <forward_list>

0 commit comments

Comments
 (0)