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
We're now creating data in MySqlMigration.cs.
As seeing action type check logic (From Line 388), there are a bunch of if statements are present and every action data goes through all if statesments.
But one data cannot be two type of actions at the same time, so we can optimize it by changing if-s to if-else of switch statement.
Furthermore, we can optimize it once more by aligning actions by frequency (e.g., check HAS first, DailyReward next, and so on).
The text was updated successfully, but these errors were encountered:
We're now creating data in MySqlMigration.cs.
As seeing action type check logic (From Line 388), there are a bunch of if statements are present and every action data goes through all if statesments.
But one data cannot be two type of actions at the same time, so we can optimize it by changing if-s to if-else of switch statement.
Furthermore, we can optimize it once more by aligning actions by frequency (e.g., check HAS first, DailyReward next, and so on).
The text was updated successfully, but these errors were encountered: