Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
persistence.c

Signed-off-by: Josef Edwards <joed6834@colorado.edu>
  • Loading branch information
bearycool11 authored Nov 12, 2024
1 parent a0d0c58 commit d1bfb3d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ Development was independently done by Mr. Edwards thanks to in part by VeniceAI
1. Introduction
2. System Overview
3.File Structure
4. Persistence.c
4.pml_logic_loop.c
5. novel_topic.c
6. update_knowledge_graph.c
@@ -145,6 +146,18 @@ This function ensures that the **knowledge graph** remains up-to-date, adding ne

---

## 4. Persistence.c
The persistence.c file is responsible for managing the persistence of data within the PMLL system. This includes saving and loading data from memory silos, as well as ensuring that data is properly serialized and deserialized.

Key Functions:
save_data(void* data, size_t size): Saves data to a memory silo.
load_data(size_t size): Loads data from a memory silo.
serialize_data(void* data, size_t size): Serializes data for storage.
deserialize_data(void* data, size_t size): Deserializes data for use.
Importance:
The persistence.c file is crucial for ensuring that data is properly stored and retrieved within the PMLL system. By providing a robust and efficient persistence mechanism, the PMLL system can maintain its state across different sessions and ensure that data is not lost.


### 4. **encrypt_knowledge_graph.c**

#### Main Purpose:

0 comments on commit d1bfb3d

Please sign in to comment.