Is if-then-else generally a fast operation or is it one of the bugbears that drags down script performnce?
Assuming if-then-else and the ternary operator are not identical under the covers, would you expect one to be 10% faster than the other? 100% faster? 1,000% faster?
You have six instances of the ternary operator. If you could re-code these using the magic poof operator, they would take no time at all. How much change would that make in the performance of your script?
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: Optimize string value assignment
by TomDLux
in thread Optimize string value assignment
by Dismas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |