Patrick Mylund Nielsen
Patrick Mylund Nielsen
I'm ok with changing this, but the changes are inconsistent: You use colons somewhere and "Funcname does a thing" in other places. It should be the latter consistently, right? Please...
This is sufficiently mindblowing so as to be suspicious. In the docs it states > It is optimized for use in concurrent loops with keys that are stable over time,...
Still waiting for CONTRIBUTORS change. @vidmed ?
Unfortunately, I think @zouyx brings up a good point. I'm not sure it's worth breaking installs... :(
Taken into consideration backwards compatibility and the uncertain performance impact, I think it's best not to merge this for now.
I'm not sold on this one, but not necessarily against it. Do you have an example of how this would be useful?
Thanks. I agree with everything.
FWIW: https://github.com/patrickmn/go-cache/commit/e7a9def80f35fe1b170b7b8b68871d59dea117e1
Good idea. Will try to get this into the next release.
I'm a little confused about this. Is the Update() method intended to keep the same expiration time as the original item? In that case, can't it just re-use the previous...