Evan Zhou
Evan Zhou
> > You can set a single byte value like []byte{0} instead of empty []byte{}. > > i haved also think about it,but proto.Unmarshal([]byte{0}) will get some error:invalid field number...
There is no one working on this feature right now and no plan in the near future.
Thank you for reporting the panic issue, but I can not merge this PR because it is an API change, ti will break the previous working code. Can we just...
I just remembered that I didn't return error in "QueryRow" method because I follow the standard library "database.sql" package . So the error shoud be set in the "Row", and...
We can set the error via reflection.
Sorry, I didn't write go reflection for a whiel and confused it with JAVA reflection. Then if we failed to prepare, we can just call db.QueryRow,, if tx is not...
Yes, the current version is stable.
It's limited by the data structure, large values don't fit in the data structure.
@glasser If an entry takes too big a fraction of a segment, it will be evicted when a new entry is written, the LRU algorithm does not work.
@mmacheerpuppy The code is at this line https://github.com/coocood/freecache/blob/master/segment.go#L85 It's not configurable.