Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize CnaEvent lookup and storage in CnaUtil
This commit improves the performance of the storeCnaEvents method by replacing the stream-based lookup with a HashSet contains check. This change reduces the computational complexity from O(n) to O(1) for the lookup operation, resulting in a significant performance gain when processing large collections of CnaEvent objects.
- Loading branch information