Thread
:
Templates: various questions not worth their own thread
View Single Post
03-03-2023, 01:45 AM
#
522
ownedbycats
Custom User Title
Posts: 11,358
Karma: 79528341
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
02:09 AM
.
ownedbycats
View Public Profile
Find More Posts by ownedbycats
Track Posts by ownedbycats via RSS