The _isActivePlayer function iterates over the entire players array, which can consume a lot of gas if the array is large. However, this function is not currently being used in the contract.
The gas consumption of the _isActivePlayer function may increase significantly with larger player arrays, but this is currently not affecting the contract's functionality.
No Impact - informational
vscode
optimize the data structure to avoid iterating over the entire players array, which can help reduce gas consumption.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.