All this thread has demonstrated is that you guys suck at coding. Why represent status as a string when it can be represented in 1 bit?
Quote:
enum class Status { FUCKED, LEGAL };
Dreamers.Status = Status.FUCKED;
if (hr3440.hasPassed() && s1615.hasPassed())
Dreamers.Status = Status.LEGAL;
|
Always set the default status to what is the most likely outcome at any instance, which is Status.FUCKED, setting status in a if/else statement makes it so that you have to evaluate a branch speculation, in my implementation, the default value is FUCKED and the single branch will have a near 100% branch correct prediction and only 1 branch miss (when the branch condition goes from false to true for the first time). Also when doing multiple logical && always put the most common false item first so it does not have to evaluate the remaining ones, with || do the inverse.
Also, not to mention, your condition is wrong because DA failed to pass with D super majority + D presidency.