billion-context-omp 0.3.2-pr.140.6 → 0.3.2-pr.143.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4907,7 +4907,7 @@ function isViewFlip(foldedLen, lcp) {
|
|
|
4907
4907
|
}
|
|
4908
4908
|
function preserveCompressedSlot(prev) {
|
|
4909
4909
|
const slot = freshSlot(prev);
|
|
4910
|
-
slot.state = { ...slot.state, blocks: prev.state.blocks, messageRefs: prev.state.messageRefs, stats: prev.state.stats };
|
|
4910
|
+
slot.state = { ...slot.state, blocks: prev.state.blocks, messageRefs: prev.state.messageRefs, stats: prev.state.stats, nextBlockId: prev.state.nextBlockId, nextRunId: prev.state.nextRunId };
|
|
4911
4911
|
slot.appliedCallIds = new Set(prev.appliedCallIds);
|
|
4912
4912
|
return slot;
|
|
4913
4913
|
}
|
|
@@ -4971,7 +4971,7 @@ function createRuntime(adapter) {
|
|
|
4971
4971
|
lcp = 0;
|
|
4972
4972
|
}
|
|
4973
4973
|
if (lcp === 0 && slot.state.blocks.length > 0) {
|
|
4974
|
-
const presentIds = new Set(
|
|
4974
|
+
const presentIds = new Set(stream.map((m) => m.id));
|
|
4975
4975
|
const surviving = slot.state.blocks.filter((b) => b.active === false || b.effectiveMessageIds.some((id) => presentIds.has(id)));
|
|
4976
4976
|
if (surviving.length < slot.state.blocks.length) {
|
|
4977
4977
|
debug.event("fold-purge-stale-blocks", { sid, before: slot.state.blocks.length, after: surviving.length });
|