Skip to content

Conversation

@haarg
Copy link
Contributor

@haarg haarg commented Mar 29, 2025

The export_to_level function forces Exporter to always load Exporter::Heavy. This can be avoided by only using Exporter::import.

Time::HiRes's import is only trying to prevent exports of unimplemented functions and doesn't need to make any modifications to its arguments. This means doing a goto &Exporter::import will do everything needed.

The export_to_level function forces Exporter to always load
Exporter::Heavy. This can be avoided by only using Exporter::import.

Time::HiRes's import is only trying to prevent exports of unimplemented
functions and doesn't need to make any modifications to its arguments.
This means doing a goto &Exporter::import will do everything needed.
@haarg haarg merged commit 3ab0369 into blead Mar 31, 2025
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants