Skip to content

Conversation

@Exortions
Copy link
Collaborator

@Exortions Exortions commented Dec 28, 2024

The SD Card cache allows messages to be stored in a vector, instead of being written to the sd card everytime a message is sent. There is a customizable cacheSize variable, passed into the ctor which the user can change on creation. Once the cache reaches this size, the entire cache is dumped into the sd card.

Instead of a max size to the cache, maybe there should be a function that manually writes to the card.

Having a cache I believe is the optimal way to write to the SD Card, as repeated writes to it will cause it to disrupt other operations on user code.

Download the template for this pull request:

Note

This is auto generated from Add Template to Pull Request

curl -o [email protected]+642e24.zip https://nightly.link/LemLib/LemLog/actions/artifacts/2368320107.zip;
pros c fetch [email protected]+642e24.zip;
pros c apply [email protected]+642e24;
rm [email protected]+642e24.zip;

@Exortions Exortions added the enhancement New feature or request label Dec 28, 2024
@Exortions Exortions requested a review from SizzinSeal December 28, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants