CycloneDX / CycloneDX/cyclonedx-php-library

[PHP7.4] IDEA: use WeakReferences to cache normalizers

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
13
Forks
0
PR merge metrics
No merged PRs in 30d

Description

since support for php7.3 is dropped,
we can use [WeakRefs](https://www.php.net/manual/en/class.weakreference.php) for the normalizer factory, so it does not need to create a new instance every time ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.