读区mysql package递归替换迭代是否更优
tchen-coder opened this issue · 0 comments
tchen-coder commented
func (p *PacketIO) ReadPacket() ([]byte, error){...}中读取package是递归,替换为迭代减少栈开销,是否更优。
tchen-coder opened this issue · 0 comments
func (p *PacketIO) ReadPacket() ([]byte, error){...}中读取package是递归,替换为迭代减少栈开销,是否更优。