Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove profiling in reader.Check #115

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Remove profiling in reader.Check #115

merged 2 commits into from
Dec 11, 2024

Conversation

ronenh
Copy link
Contributor

@ronenh ronenh commented Dec 11, 2024

And use azm/mempool.NewSlicePool[byte](maxRelationSize) for relation filter buffers.

@ronenh ronenh requested a review from gertd December 11, 2024 13:01
@gertd gertd merged commit 548e833 into relpool-rid Dec 11, 2024
1 check passed
@gertd gertd deleted the bufpool branch December 11, 2024 13:47
gertd added a commit that referenced this pull request Dec 11, 2024
* convert keyFilter from string to []byte

* convert azm to use RelationIdentifier

* convert azm to use RelationIdentifier

* upd go-directory@vtproto & azm@relpoot-rid

* go mod tid

* update deps

* Use sync.Pool for relation filter buffers (#114)

* azm with shared relations poo

* sync.Pool for relation filter buffers

* Remove profiling in reader.Check (#115)

* Remove profiling in reader.Check

* Use NewSlicePool from azm/mempool

* upd [email protected] [email protected]

---------

Co-authored-by: Ronen Hilewicz <[email protected]>
Co-authored-by: Ronen Hilewicz <[email protected]>
gertd added a commit that referenced this pull request Dec 11, 2024
* rm userset.go (deadcode)

* add ScanX inline value filter

* mv UpdateMetadata to ds

* replace bdb.ErrIsNotFound with status.Code(err) == codes.NotFound

* use proto.Un|Marshal instead of protojson.Un|Marshal

* use azm@cache-inverted-model

* use azm@cache-inverted-model

* use azm@cache-inverted-model

* refactor Scan, ScanWithFilter and KeyPrefixExist

* rm go.mod replace

* rm SessionID

* move cursor up

* Write relations to pre-allocated slices (#110)

* update azm@cache-inverted-model

* upd deps

* go.sum

* Assign slice back to out pointer after appends (#111)

* Use azm@relpool

* Azm with timestamppb.Timestamp pool

* Use go-directory with vtproto

* relpool changes + RelationId refactoring (#113)

* convert keyFilter from string to []byte

* convert azm to use RelationIdentifier

* convert azm to use RelationIdentifier

* upd go-directory@vtproto & azm@relpoot-rid

* go mod tid

* update deps

* Use sync.Pool for relation filter buffers (#114)

* azm with shared relations poo

* sync.Pool for relation filter buffers

* Remove profiling in reader.Check (#115)

* Remove profiling in reader.Check

* Use NewSlicePool from azm/mempool

* upd [email protected] [email protected]

---------

Co-authored-by: Ronen Hilewicz <[email protected]>
Co-authored-by: Ronen Hilewicz <[email protected]>

---------

Co-authored-by: Ronen Hilewicz <[email protected]>
Co-authored-by: Ronen Hilewicz <[email protected]>
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