From 0b56c549b514d3a89f1ec1c692ccaa01f1f6b9a6 Mon Sep 17 00:00:00 2001 From: cdemeyer-teachx Date: Mon, 25 Aug 2025 09:02:50 +0900 Subject: [PATCH] prompt description --- prompts/5-allocator | 1 + 1 file changed, 1 insertion(+) create mode 100644 prompts/5-allocator diff --git a/prompts/5-allocator b/prompts/5-allocator new file mode 100644 index 0000000..cfce194 --- /dev/null +++ b/prompts/5-allocator @@ -0,0 +1 @@ +This is a repo for Wafe Function Collapse. The logic is already implemented. There is branching logic that creates a new state and allocates a lot of memory. I want you to create an "stack" allocator specifically for the wfc algorithm that the program can use to quickly allocate new branches. The deallocation should only occur when a branch goes out of scope, so no need to have logic in the deallocate() function. \ No newline at end of file