Skip to content

Reserve tape capacity for contiguous and Fibonacci models - #202

Merged
mkot2 merged 1 commit into
mainfrom
codex/add-memory-reservation-for-contiguous-models
Sep 7, 2025
Merged

Reserve tape capacity for contiguous and Fibonacci models#202
mkot2 merged 1 commit into
mainfrom
codex/add-memory-reservation-for-contiguous-models

Conversation

@mkot2

@mkot2 mkot2 commented Sep 7, 2025

Copy link
Copy Markdown
Owner

Summary

  • reserve predicted cell span only for contiguous and Fibonacci memory models
  • skip reservation for sparse and OS-backed tapes to avoid unnecessary allocations

Testing

  • cmake -S . -B build
  • cmake --build build
  • ctest --test-dir build
  • /usr/bin/time -v ./build/goof2 -i bench.bf -dts -mm contiguous
  • /usr/bin/time -v ./build/goof2 -i bench.bf -dts -mm os

https://chatgpt.com/codex/tasks/task_e_68bdb57773408331878fd9ebd482e49a

@mkot2
mkot2 merged commit d5d642b into main Sep 7, 2025
3 checks passed
@mkot2
mkot2 deleted the codex/add-memory-reservation-for-contiguous-models branch September 7, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant