-
Notifications
You must be signed in to change notification settings - Fork 17
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
Pre-allocate memory for slices to prevent repeated reallocation and copy during capacity expansion #103
Comments
Although query retention policy isn't performance sensitive, but I think it can be optimized. #102 also reveals another problems of this class method. cc @cyruslo @Chenxulin97 |
There are many other places with the same problem. I've only listed this one. |
It's not a problem , we will find the whole places and fix them . thanx for ur contribution. |
ok |
@dream-kzx Let's keep this issue open util it's resolved :) |
Signed-off-by: cyruslo <710058301@qq.com>
Signed-off-by: cyruslo <710058301@qq.com>
closed by #117 |
opengemini-client-go/opengemini/retention_policy.go
Lines 81 to 129 in 5898fcc
variable: retentionPolicy
The text was updated successfully, but these errors were encountered: