summaryrefslogtreecommitdiff
path: root/src/inc_internal/maat_object.h
diff options
context:
space:
mode:
authorroot <[email protected]>2024-11-14 03:13:06 +0000
committerroot <[email protected]>2024-11-14 03:13:06 +0000
commitdf24326470e7ab75aadfc591791aebd8aaf50768 (patch)
tree78a141214955984a10ce659f14361e3a783492e6 /src/inc_internal/maat_object.h
parent2dfcf103c04d616beffa2d1582c990fa02360f3a (diff)
patch performance optimization from maat4HEADdevelop-version5
change some utarray to thread local variable, to reduce the frequency of calloc and free
Diffstat (limited to 'src/inc_internal/maat_object.h')
-rw-r--r--src/inc_internal/maat_object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inc_internal/maat_object.h b/src/inc_internal/maat_object.h
index bef043e..d4d079e 100644
--- a/src/inc_internal/maat_object.h
+++ b/src/inc_internal/maat_object.h
@@ -43,7 +43,7 @@ int object_group_runtime_commit(void *object_group_runtime, const char *table_na
size_t object_group_runtime_get_super_objects(void *object_group_runtime, uuid_t *object_uuids,
size_t n_object_uuids, uuid_t *super_object_uuids,
- size_t super_object_uuids_size);
+ size_t super_object_uuids_size, int thread_id);
long long object_group_runtime_rule_count(void *object_group_runtime);