Thread
:
Templates: various questions not worth their own thread
View Single Post
03-03-2023, 12:45 AM
#
522
ownedbycats
Custom User Title
Posts: 11,090
Karma: 76037135
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When short-circuiting is accounted for, would it maybe be faster to do two separate exact checks:
Code:
($#columnname=='foo'||$#columnname=='bar')
Than one regex match?
Code:
'^(foo|bar)$' in $#columnname
Last edited by ownedbycats; 03-03-2023 at
01:09 AM
.
ownedbycats
View Public Profile
Find More Posts by ownedbycats
Track Posts by ownedbycats via RSS