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