|
a/src/utils/circache.h |
|
b/src/utils/circache.h |
|
... |
|
... |
32 |
* Inside the file. the UDIs are stored inside the entry dictionary
|
32 |
* Inside the file. the UDIs are stored inside the entry dictionary
|
33 |
* under the key "udi".
|
33 |
* under the key "udi".
|
34 |
*
|
34 |
*
|
35 |
* It is assumed that the dictionary are small (they are routinely read/parsed)
|
35 |
* It is assumed that the dictionary are small (they are routinely read/parsed)
|
36 |
*
|
36 |
*
|
37 |
* A problem with this approach is that repetitively storing the same
|
|
|
38 |
* object will evict all others. This could be somewhat optimized by reusing
|
|
|
39 |
* the last entry if it has the same udi as the one written, but not done
|
|
|
40 |
* currently.
|
|
|
41 |
*/
|
37 |
*/
|
42 |
|
38 |
|
43 |
#include <sys/types.h>
|
39 |
#include <sys/types.h>
|
44 |
|
40 |
|
45 |
#include <string>
|
41 |
#include <string>
|