chore(perf): getter function dirty comparison