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
Currently, GSSInputStream makes a number of allocations for every read call.
In fact, we know backend never produces messages that exceed 16KiB, so we could use 16KiB buffer in case of GSS connection, and GSSInputStream could peek into VisibleBufferedInputStream's buffer.
Describe the issue
Currently,
GSSInputStream
makes a number of allocations for every read call.In fact, we know backend never produces messages that exceed 16KiB, so we could use 16KiB buffer in case of GSS connection, and
GSSInputStream
could peek intoVisibleBufferedInputStream's
buffer.The following allocations could be removed:
pgjdbc/pgjdbc/src/main/java/org/postgresql/gss/GSSInputStream.java
Line 39 in 450488c
pgjdbc/pgjdbc/src/main/java/org/postgresql/gss/GSSInputStream.java
Line 54 in 450488c
The text was updated successfully, but these errors were encountered: