Skip to content

[win32] Both IO and global match are VERY SLOW since 5.12 and up to 5.38 unless pre-heated #21654

Closed
@LorenzoTa

Description

@LorenzoTa

Hello,

in this thread at perlmonks an anonymous contributor spotted a severe performance drop in perl under windows for both IO and global match.

I have tested the code against different strawberry distros in my answer and seems something starting getting worst after 5.12 and still present in 5.38

Pre-heating (predimensionate the array) seems to mitigate the issue after 5.26

Someone in the chat supposed to be something related to malloc on win32.

I'm not in the position to dig it up further.

Thanks for looking and, if something is found, I'll take care to update the above thread.

L*

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions