-
Notifications
You must be signed in to change notification settings - Fork 154
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
Optimise index checking in API.Get() #150
Labels
Comments
dave-tucker
added a commit
to dave-tucker/libovsdb
that referenced
this issue
Jun 21, 2021
This adss a new api to the cache - RowByIndex which will calculate the index value and then looks up the stored indexes that match. This is much faster as it doesn't need to iterate across the entire cache. The Get API has been updated to use this new function Fixes: ovn-org#150 Signed-off-by: Dave Tucker <[email protected]>
dave-tucker
added a commit
to dave-tucker/libovsdb
that referenced
this issue
Jun 24, 2021
This adds a new api to the cache - RowByMdoel which will calculate the will look up by the UUID of the model, or by the matching the model against the table indexes. This is much faster as it doesn't need to iterate across the entire cache. The Get API has been updated to use this new function Fixes: ovn-org#150 Signed-off-by: Dave Tucker <[email protected]>
dave-tucker
added a commit
to dave-tucker/libovsdb
that referenced
this issue
Jun 24, 2021
This adds a new api to the cache - RowByMdoel which will calculate the will look up by the UUID of the model, or by the matching the model against the table indexes. This is much faster as it doesn't need to iterate across the entire cache. The Get API has been updated to use this new function Fixes: ovn-org#150 Signed-off-by: Dave Tucker <[email protected]>
dave-tucker
added a commit
to dave-tucker/libovsdb
that referenced
this issue
Jul 1, 2021
This adds a new api to the cache - RowByMdoel which will calculate the will look up by the UUID of the model, or by the matching the model against the table indexes. This is much faster as it doesn't need to iterate across the entire cache. The Get API has been updated to use this new function Fixes: ovn-org#150 Signed-off-by: Dave Tucker <[email protected]>
dave-tucker
added a commit
to dave-tucker/libovsdb
that referenced
this issue
Jul 1, 2021
This adds a new api to the cache - RowByMdoel which will calculate the will look up by the UUID of the model, or by the matching the model against the table indexes. This is much faster as it doesn't need to iterate across the entire cache. The Get API has been updated to use this new function Fixes: ovn-org#150 Signed-off-by: Dave Tucker <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was done in #116 for the server side, but API.Get() could also use this.
The text was updated successfully, but these errors were encountered: