Eugene Lamskoy

Results 14 comments of Eugene Lamskoy

> I worry that `preg_match()` has a negative performance impact. Can't we use `strpos()` instead? preg_match is cached way better with opcache that strpos. compared some time ago

> @lamskoy - @woutersamaey requested using strpos function. > > Personally I never used strstr function in my code. I would read discussions on forums related to strstr and strpos....

> If I can say something, do not use "Yoda conditions". Why? Not so bad stuff as I think :)

> If that's not faster then at least flip the if statements so that it checks for `_` instead of `\` since `_` will be the far more common case....

Found issue PKGBUILD checkdepends=('package') is not handled properly by OBS

``` pkgname=test pkgver=1.0.0 pkgrel=1 pkgdesc="test" arch=("x86_64" "i686") backup=() build() { echo Make } package() { echo Package } check() { echo Check } checkdepends=('procps-ng') ``` Here's sample PKGBUILD which it...