gudan garam
Advanced OT User
So I'm trying out ways of removing the freezes when someone leaves a house with too much items, caused by the items being moved from house to player's inbox and than saving it in database.
And I came to find that the first login of a player is faster than the subsequent ones.
It is probably cache but how does that work? If a player logout shouldn't their items be gone from memory?
The loading time is always 10x faster on the subsequent logins.
Example:
How is the memory managed here? Is there a delay to delete that players stats from memory intentionally or is that default?
And I came to find that the first login of a player is faster than the subsequent ones.
It is probably cache but how does that work? If a player logout shouldn't their items be gone from memory?
The loading time is always 10x faster on the subsequent logins.
Example:
Code:
[IOLoginData::loadPlayer] exec time: 0.121 seconds.
Community Manager has logged in.
Community Manager has logged out.
[IOLoginData::loadPlayer] exec time: 0.022 seconds.
Community Manager has logged in.
Community Manager has logged out.
[IOLoginData::loadPlayer] exec time: 0.021 seconds.
Community Manager has logged in.
Community Manager has logged out.
How is the memory managed here? Is there a delay to delete that players stats from memory intentionally or is that default?