John Rayes

Results 59 comments of John Rayes

[Passing parameters by reference isn't really a memory-saving hack](https://stackoverflow.com/a/22939938/4710434) because of [copy-on-write](https://stackoverflow.com/questions/628938/what-is-copy-on-write). Sara Golemon has an interesting article at http://blog.golemon.com/2007/01/youre-being-lied-to.html > The moral of the story > > Assigning values...

array_key_exists no need to waste cycles searching the array

Same here. I want to use the `manifest`command for my PHP projects but when testing I noticed that the manifest command combined with the `php` release type hangs for several...

~~[Use the `simple` release type](https://github.com/google-github-actions/release-please-action#release-types-supported). That's what I do for my PHP project.~~ Misread you, sorry. Try a [commit saying `Release-As: 4.1.8`](https://github.com/googleapis/release-please#how-do-i-change-the-version-number), might work.

I don't know if this helps you but here's how I grab the version steps: - uses: GoogleCloudPlatform/release-please-action@v2 id: release with: token: ${{ secrets.GITHUB_TOKEN }} release-type: simple package-name: ${{ env.MOD_NAME...

I restored that index: query still slow ```sql ANALYZE format=json SELECT t.id_topic, t.id_first_msg, t.id_last_msg, CASE WHEN MIN(ma.id_msg) > 0 THEN CASE WHEN MIN(mu.id_msg) > 0 THEN CASE WHEN MIN(mu.id_msg) <...

I'd be inclined to match already existing naming styles as seen in the CSS, using underscores as separators.

> I don't know if .zips have similar issues.... They do not On Sun, Jan 9, 2022 at 2:47 PM Jeremy D ***@***.***> wrote: > StopForumSpam-test.zip > > > Zip...

PHP does type juggling for loose comparisons, which those are. On Mon, Aug 15, 2022 at 11:56 AM Jeremy D ***@***.***> wrote: > ./other/install.php:1945: > ./other/install.php:1952: ', $txt['lang_rtl'] == true...

regexes with lots of alternations could be optimized like the one I link to https://github.com/thephpleague/commonmark/blob/42781fde669f255b7e2ca12ffdcd7ac8d95ee64f/src/Util/RegexHelper.php#L44 several alternations could be reduced by combining similar ones into optional atomic groups, but readability...