Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize set operations in ExplorationReport (#262)
`set.union` becomes slow significantly when set size large than 100k. Test with ```python from tqdm import tqdm s = set() for i in tqdm(range(200000)): s = s.union([i]) ``` in comparison to ```python from tqdm import tqdm s = set() for i in tqdm(range(200000)): s.update([i]) ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Performance Improvements** - Enhanced the efficiency of accuracy value aggregation by modifying how accuracy values are updated, potentially improving performance in scenarios with large or frequently updated data. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: zjgemi <[email protected]>
- Loading branch information