refactor(furvm): improve the handle system

Absolute slop

Refs: #12
This commit is contained in:
2026-06-18 23:58:37 +02:00
parent e9b38e95a2
commit ec2c81fc56
13 changed files with 641 additions and 617 deletions
+3 -7
View File
@@ -4,13 +4,9 @@
namespace furvm {
context::context() {}
context::context()
: m_thingAllocator(m_thingArena) {}
void context::collect() {
for (auto& ref : m_things) {
if (ref->reference_count() != 0) continue;
ref = nullptr;
}
}
void context::collect() {}
} // namespace furvm