Sets of heap slots are bits, the heaps' records have threads of their own, what is mirrored of them is counted
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
3321b7e346
commit
a36d7dec8c
4 files changed
+134
-31
No files matched your search
@@ -806,7 +806,7 @@ fn heap_buffer_pass(heap: &crate::descriptor::Heap, host: &crate::descriptor::ho
|
||||
const AT_A_TIME: usize = 256;
|
||||
let parts: Vec<&[u32]> = slots.chunks(AT_A_TIME).collect();
|
||||
let found: Vec<std::sync::OnceLock<Vec<_>>> = parts.iter().map(|_| Default::default()).collect();
|
||||
crate::land::each_view(parts.len(), &|n| {
|
||||
crate::land::each_view(false, parts.len(), &|n| {
|
||||
let looked: Vec<_> = parts[n].iter().map(|&index| (index, look(index))).collect();
|
||||
// (After each piece while the device lives: a cheap query.)
|
||||
if alive
|
||||
|
||||
Reference in new issue
Block a user