Which calculation method is more efficient, widget or conditional logic?