|
OpenVAS Libraries
9.0.3
|
Struct to cache names (keys) of arglist entries. More...

Data Fields | |
| char * | name |
| int | occurences |
| struct name_cache * | next |
| struct name_cache * | prev |
Struct to cache names (keys) of arglist entries.
A lot of entries in our arglists have the same name. We use a caching system to avoid to allocate twice the same name
This saves about 300Kb of memory, with minimal performance impact
Definition at line 56 of file arglists.c.
| char* name_cache::name |
Definition at line 58 of file arglists.c.
| struct name_cache* name_cache::next |
Definition at line 60 of file arglists.c.
| int name_cache::occurences |
Definition at line 59 of file arglists.c.
| struct name_cache* name_cache::prev |
Definition at line 61 of file arglists.c.