chore(8.0): final pre-RC1 sweep — API consistency, named errors, orphans, zero-cast codebase

This commit is contained in:
David Snelling 2026-06-11 14:51:00 -07:00
parent 970e08c466
commit 1f7e365a4e
237 changed files with 1951 additions and 49413 deletions

View file

@ -122,7 +122,7 @@ async function runBenchmark() {
// TEST 7: Delete Operations
start = Date.now()
for (let i = 0; i < 100; i++) {
await brain.delete(ids[1900 + i])
await brain.remove(ids[1900 + i])
}
elapsed = Date.now() - start
results.delete = Math.round(100 / (elapsed / 1000))

View file

@ -200,7 +200,7 @@ async function runV3Benchmark() {
console.log('Testing delete operations...')
const start7 = Date.now()
for (let i = 0; i < 100; i++) {
await brain.delete(ids[900 + i])
await brain.remove(ids[900 + i])
}
const deleteTime = Date.now() - start7
results.delete = Math.round(100 / (deleteTime / 1000))