You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello the developers of fastcache. I am learning how this library running by read the source code.
And i have some confuses when reading the code of function Get() in fastcache.go, line 341.
In my opinion, the field gen in bucket means the reset rounds that the chunk had experienced.
And if gen reach the maximum 1<<genSizeBits it should be reset to 1 and not be gen++.
Is my understanding correct?
The text was updated successfully, but these errors were encountered:
spemed
changed the title
There is some confusion in the process of reading the source code
There are some confusions in the process of reading the source code
Feb 25, 2022
Hello the developers of fastcache. I am learning how this library running by read the source code.
And i have some confuses when reading the code of function Get() in fastcache.go, line 341.
In my opinion, the field gen in bucket means the reset rounds that the chunk had experienced.
And if gen reach the maximum 1<<genSizeBits it should be reset to 1 and not be gen++.
Is my understanding correct?
The text was updated successfully, but these errors were encountered: