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