Skip to content

Commit

Permalink
perldelta entry for Perl_sv_setsv_flags changes
Browse files Browse the repository at this point in the history
  • Loading branch information
richardleach committed Nov 7, 2024
1 parent 6cad8c4 commit 7cf872e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pod/perldelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,16 @@ well.

=over 4

=item *

When assigning from an SVt_IV into a SVt_NV (or vice versa), providing that
both are "bodyless" types, Perl_sv_setsv_flags will now just change the
destination type to match the source type. Previously, an SVt_IV would have
been upgraded to a SVt_PVNV to store an NV, and an SVt_NV would have been
upgraded to a SVt_PVIV to store an IV. This change prevents the need to
allocate - and later free - the relevant body struct.


=item *

XXX
Expand Down

0 comments on commit 7cf872e

Please sign in to comment.