kingshard icon indicating copy to clipboard operation
kingshard copied to clipboard

读区mysql package递归替换迭代是否更优

Open tchen-coder opened this issue 3 years ago • 0 comments

func (p *PacketIO) ReadPacket() ([]byte, error){...}中读取package是递归,替换为迭代减少栈开销,是否更优。

tchen-coder avatar Dec 23 '21 09:12 tchen-coder