perl5
perl5 copied to clipboard
🐪 The Perl programming language
**Description** from sv.c ``` #ifndef SV_COW_MAX_WASTE_FACTOR_THRESHOLD # define SV_COW_MAX_WASTE_FACTOR_THRESHOLD 2 /* COW iff len < (cur * K) */ #endif #ifndef SV_COWBUF_WASTE_FACTOR_THRESHOLD # define SV_COWBUF_WASTE_FACTOR_THRESHOLD 2 /* COW iff len...
Module: **Description** A certain profiling call stack caught my eye and the final report from my profiler said 8% of all cpu time of perl is spent inside. ```isupper()```/```toupper()``` from...
**Description** `win32_realloc()` was passed 0x30, `HeapSize()` on the ptr says the block size is already 0x30. inside `S_change_engine_size` ((RExC_state_t *)pRExC_state)->precomp is "(?x) \b strict \.pmc? \z" ((RExC_state_t *)pRExC_state)->size is 1...
Currently, `S_invlist_trim` always calls `SvPV_renew(invlist, )`, which is a macro wrapping a call to `safesysrealloc()`. However, `SvLEN(invlist)` is often already exactly the desired size, or it is larger by less...
We (PSC) have been thinking about the situation created by #20103, with problems reported in #22883 and #23026. A small improvement was made in #22907, and @tonycoz also suggested what...
[email protected] version, executing the test command dist/ExtUtils-CBuilder/t/03-cplusplusplus fails, error message: dist/ExtUtils-CBuilder/t/03-cplusplus......................................# Failed test 'No search for C++ compiler in PATH when given absolute path to C compiler' at t/03-cplusplus.t line...
Closes https://github.com/Perl/perl5/issues/21133 We can also move "Perl Configuration" to the `` tag, but I think it is clearer like so. The templates could also be updated to the .yml format...
The documentation for the -C command-line switch currently implies that it works in UTF-8, which is not quite the reality, since it actually only operates in Perl's internal upgraded encoding....
This is a bug report for perl from [email protected], generated with the help of perlbug 1.41 running under perl 5.31.10. ----------------------------------------------------------------- [Please describe your issue here] ext/XS-APItest/t/clone-with-stack.t, when run on...
This replaces `:utf8` with an actually secure layer based on `:utf8_strict` This is a draft for two reasons: 1. This does not work well with the :stdio layer. This is...