implement history #2

Open
opened 2026-01-27 10:39:10 +09:00 by IoI_xD · 0 comments
Owner

thinking it's gonna be a static array of up to 255, 255-character entries, using about 64k memory.

when the user exceeds 255 entries in this array, it'll start overflowing into the beginning entries, and a "cursor" that signifies what the beginning of the array is will move forward; we'll use this to have a max of 255 entries without having to do any array shuffling.

thinking it's gonna be a static array of up to 255, 255-character entries, using about 64k memory. when the user exceeds 255 entries in this array, it'll start overflowing into the beginning entries, and a "cursor" that signifies what the beginning of the array is will move forward; we'll use this to have a max of 255 entries without having to do any array shuffling.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pyrite-dev/msh#2
No description provided.