[Perl/perl5] 820239: Add Dmitrii Kuvaiskii to AUTHORS

[email protected] (Dmitrii Kuvaiskii via perl5-changes)
Newsgroups perl.perl5.changes
Message-ID <Perl/perl5/push/refs/heads/blead/[email protected]>
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 8202394f09ff97ac25adc1601f9b96a172803eef
      https://github.com/Perl/perl5/commit/8202394f09ff97ac25adc1601f9b96a172803eef
  Author: Dmitrii Kuvaiskii <[email protected]>
  Date:   2026-03-31 (Tue, 31 Mar 2026)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  Add Dmitrii Kuvaiskii to AUTHORS


  Commit: b0da596a5004f109d8e35cda3145efc01577b2a9
      https://github.com/Perl/perl5/commit/b0da596a5004f109d8e35cda3145efc01577b2a9
  Author: Dmitrii Kuvaiskii <[email protected]>
  Date:   2026-03-31 (Tue, 31 Mar 2026)

  Changed paths:
    M embed.h
    M perl.h

  Log Message:
  -----------
  Add __attribute__uninitialized__ macro

Add HASATTRIBUTE_UNINITIALIZED and __attribute__uninitialized__ macro
(available from gcc 12). This attribute can be used to mark variables
that should not be auto-initialized even when compiled with
-ftrivial-auto-var-init=zero.


  Commit: 3a9f508b85c407d01ddae00bc1ba129235a181c0
      https://github.com/Perl/perl5/commit/3a9f508b85c407d01ddae00bc1ba129235a181c0
  Author: Dmitrii Kuvaiskii <[email protected]>
  Date:   2026-03-31 (Tue, 31 Mar 2026)

  Changed paths:
    M pp_hot.c

  Log Message:
  -----------
  Mark svpv_buf as uninitialized to avoid performance regression

Previously, when compiling Perl with `-ftrivial-auto-var-init=zero` (on
gcc 12+), there was a performance regression in pp_multiconcat(). This
happened because of the `svpv_buf` local array with a rather-large size,
which was auto initialized to zero.

Since `svpv_buf` is used in a performance-critical path, and is used
safely in the current codebase, this commit marks this array as
`__attribute__((uninitialized))`. This way, even when compiled with
`-ftrivial-auto-var-init=zero`, Perl still exhibits good performance.


Compare: https://github.com/Perl/perl5/compare/998bf44359cb...3a9f508b85c4

To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.