View Single Post
Old 03-03-2023, 12:45 AM   #522
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
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 is online now   Reply With Quote