4 ms·
Maybe store a hash of the values in the struct and check against that too see if anything has changed? If you're doing lots of dirty checks, that might be too r
by rpeden 8y ago
Maybe store a hash of the values in the struct and check against that too see if anything has changed? If you're doing lots of dirty checks, that might be too resource intensive, though.
Or just use getters and setters and if anyone calls you stupid, ask them to demonstrate a better solution that still solves your problem.