Enhancement: Use arithmetic comparison rather than list membership to speed up computation
Enhancement: Use arithmetic comparison rather than list membership to speed up computation

sbg/Mitty,sbg/Mitty