prompt description

This commit is contained in:
cdemeyer-teachx
2025-08-25 09:02:50 +09:00
parent 67d6efb9dd
commit 0b56c549b5

1
prompts/5-allocator Normal file
View File

@@ -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.