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
Messy, inefficient and downright confusing. this is such core functionality it needs to be easier to understand. Part of the problem I am facing is that I cannot think of an efficient way of achieving of what needs to be done, the process will be documented on this issue to hopefully clarify it and improve it.
Diagram of current process
Process breakdown
Black: Loops leagues and opponents which are basically the same, a list of Player objects. So for each Player it loops through all their possible opponents to find their results.
Orange: The league players Results are loaded, then all the results are looped to see if they match the current opponent (which is being looped), the result is then filled.
tl;dr loop hell :(
Current process breakdown
todo
New process breakdown
todo
The text was updated successfully, but these errors were encountered:
Messy, inefficient and downright confusing. this is such core functionality it needs to be easier to understand. Part of the problem I am facing is that I cannot think of an efficient way of achieving of what needs to be done, the process will be documented on this issue to hopefully clarify it and improve it.
Diagram of current process
Process breakdown
Black: Loops leagues and opponents which are basically the same, a list of Player objects. So for each Player it loops through all their possible opponents to find their results.
Orange: The league players Results are loaded, then all the results are looped to see if they match the current opponent (which is being looped), the result is then filled.
tl;dr loop hell :(
Current process breakdown
todo
New process breakdown
todo
The text was updated successfully, but these errors were encountered: