Ryou Zhang

Results 12 comments of Ryou Zhang

so it's fixed now? I find use gt/lt should more faster than from/to

@olivere please check this pr

thanks Another question, why the lua socket getreusedtimes alway return nil? And I have call the setkeepalive method everytime I finish using.

sometimes, the set_keepalive return nil, I think it reached the max pool size.

OK, you are right, return nil, the error like this *1004613 lua tcp socket read timed out, client: 192.168.0.192, server: localhost, request: "GET /req HTTP/1.1", host: "192.168.0.192:8080" 2015/10/26 12:06:30 [error]...

> Sorry, but I still cannot accept your change :( > > 1. You should still add a separate test run to the CI with a `-race` flag. Without it...

when change the code in crypt.h, the problem fixed #define CRC32(c, b) ((*(get_crc_table()+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))

> You're calling `Set()` with a cost of 16, but actually storing more than double that, because you are converting UUID from raw bytes to a string ?: > >...

> @RyouZhang sorry, my mistake. Have you tried going much bigger, like, at 1GB of byte values, does it use 2GB of memory or just 1.1GB? yes, in my prod...