You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
as discuss in #5556
We use BoxStream to transfer data now. But Boxstream will impact the performance because it's a dynamic bind. Boxstream is Box, it's a dynamic bind. So I guess every time we call 'stream.next()' to get a row, it needs to call by some mechanism like vtable. Hence if there are millions of rows in the result set, we may need to access vtable millions of times.
Describe the solution you'd like
``The solution is to implement the concrete type which implements stream trait, such as:
I wonder how many generic params you have used in your previous attempt. I imagine they will appear in fn signatures containing QueryResultSet/PgResultSet, and PgResponse's declaration? How many generic params are introduced?
Is your feature request related to a problem? Please describe.
as discuss in #5556
We use BoxStream to transfer data now. But Boxstream will impact the performance because it's a dynamic bind. Boxstream is Box, it's a dynamic bind. So I guess every time we call 'stream.next()' to get a row, it needs to call by some mechanism like vtable. Hence if there are millions of rows in the result set, we may need to access vtable millions of times.
Describe the solution you'd like
``The solution is to implement the concrete type which implements stream trait, such as:
so that we can use the concrete result type instead of BoxStream to prevent dynamic binding.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: