go get -u github.com/orijtech/structslop/cmd/structslop
structslop github.com/godror/godror
reported a few structs that could be rearranged to become smaller.
I understand that *char and its length should be together, so maybe this rearrangement has too few gains and too big price for structs that are only have a few instances in a program, such as dpiConnCreateParams or dpiCommonCreateParams.
But may more gain more with dpiSubscrMessageTable and dpiSubscrMessage.
reported a few structs that could be rearranged to become smaller.
I understand that *char and its length should be together, so maybe this rearrangement has too few gains and too big price for structs that are only have a few instances in a program, such as dpiConnCreateParams or dpiCommonCreateParams.
But may more gain more with dpiSubscrMessageTable and dpiSubscrMessage.