Forum unknown
· Programming
#Circle Benchmark
9 messages in this thread
Mike, there is a Forbid() function. You would use Forbid when the program is
using structures that another Task may use at the same time. It also disables
multitasking until your Task executes a Wait function. To Exit the Forbidden
state you have to call a Permit().
So would using Forbid() speed up a program? I would then use it during sorts
to speed things up. —Mike
Mike, yes it would speed up the program, but it's not recommended to use in a
multi-tasking environment. But if the program is a real cycle pig, go for it.
Mike, yes it would speed up the program, but it's not recommended to use in a
multi-tasking environment. But if the program is a real cycle pig, go for it.
THOU SHALT NOT FORBID()! think of the suffering you will cause to any other
task!
–Scotty
I was thinking of Forbid()ing only during calculations. The EDL program in
DL5 that calculates time codes is about 8 times slower than my ML version on
the Apple. Have you (or anyone) done any time tests on it? I will try the
circle benchmark with and without when I get around to it <pun intended>.
I was thinking of Forbid()ing only during calculations. The EDL program in
DL5 that calculates time codes is about 8 times slower than my ML version on
the Apple. Have you (or anyone) done any time tests on it? I will try the
circle benchmark with and without when I get around to it <pun intended>.
THOU SHALT NOT FORBID()! think of the suffering you will cause to any other
task!
–Scotty
So would using Forbid() speed up a program? I would then use it during sorts
to speed things up. —Mike