mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-24 22:01:13 -06:00
[PR #259] [MERGED] Fix large index builds #189
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase/pull/259
Author: @appy-one
Created: 9/6/2025
Status: ✅ Merged
Merged: 9/16/2025
Merged by: @appy-one
Base:
master← Head:fix/large-index-builds📝 Commits (5)
27ea13fRemoved double property setting in constructorf474787Fix stack overflow when building a large index49822b2Refactor all.forEachcalls tofor .. ofloops6c67c95Change JSDoc type to TypeScript23812d5Disable usage of socket IPC for tests, needs works📊 Changes
4 files changed (+23 additions, -36 deletions)
View changed files
📝
src/btree/binary-tree-leaf-entry.ts(+0 -2)📝
src/btree/binary-tree.ts(+6 -15)📝
src/data-index/data-index.ts(+16 -18)📝
src/test/tempdb.ts(+1 -1)📄 Description
This fixes memory issues when building a large index. Looping the leaf values is now done without recursion to prevent memory heaping up in the callstack
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.