Skip to content

Migrate Database from HostObject to NativeState - #443

Merged
ospfranco merged 3 commits into
mainfrom
migrate-DBHostObject-to-OPDatabase
Aug 20, 2026
Merged

Migrate Database from HostObject to NativeState#443
ospfranco merged 3 commits into
mainfrom
migrate-DBHostObject-to-OPDatabase

Conversation

@ospfranco

@ospfranco ospfranco commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Turns DBHostObject into OPDatabase, instead of it being a HostObject it is a NativeState attached object. The code is just simpler that way and there is no need to manage the unordered map in opsqlite. It might be... "slightly" faster but I don't see any perf difference in my simple measurement tests.

@ospfranco
ospfranco merged commit 23711bc into main Aug 20, 2026
10 checks passed
@ospfranco
ospfranco deleted the migrate-DBHostObject-to-OPDatabase branch August 20, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant