Skip to content

memory mapping the index more responsibly#20

Merged
abhinavdangeti merged 8 commits intounstablefrom
mmapIndex
Apr 30, 2024
Merged

memory mapping the index more responsibly#20
abhinavdangeti merged 8 commits intounstablefrom
mmapIndex

Conversation

@abhinavdangeti
Copy link
Member

Copy of #17 into unstable branch.

@abhinavdangeti abhinavdangeti merged commit 7817a7a into unstable Apr 30, 2024
Thejas-bhat added a commit that referenced this pull request May 2, 2024
* onDiskInvLists experiments

* fixing the mmap pointer init

* fixing the munmap error

* dumbing down interface changes
- reading over an mmap'd slice is supported only on
  OnDiskInvertedLists for now.

* mmap'ing flat index to avoid allocation costs

* destructor override sets mmap ptr to null

* asserts after type casting reader obj

* refactoring the io flag usage

---------

Co-authored-by: Thejas-bhat <thejas.orkombu@couchbase.com>
Thejas-bhat added a commit that referenced this pull request May 3, 2024
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.

2 participants