[Remind-Fans] Help with remind, please
Dianne Skoll
dianne at skoll.ca
Mon Apr 12 18:58:10 EDT 2021
On Mon, 12 Apr 2021 15:48:49 -0700
"Randal L. Schwartz" <merlyn at stonehenge.com> wrote:
> It's also interesting when you realize then that such a day must
> always fall on the 16th through 22nd, so you can just AND together
> the 16-22 range and the Thursday condition.
Yup. But Remind is significantly more efficient at evaluating
REM Thu 16 MSG Foo
than:
REM Thu SATISFY [$Td >= 16 && $Td <= 22] MSG Foo
(In my tests, about twice as fast for the first version compared to
the second.)
And this is the least efficient version:
REM SATISFY [$Tw == 4 && $Td >= 16 && $Td <= 22] MSG Foo
being about 7x slower than the first version.
Regards,
Dianne.
More information about the Remind-fans
mailing list