This repository has been archived by the owner on May 7, 2023. It is now read-only.
[FEATURE] Using defaultdict in *group_by* implementation #201
Labels
enhancement
New feature or request
The current implementation of group_by loops twice over the lst, which significantly reduces the speed when working with large data. Instead using defaultdict will make it possible to loop over the lst only once.
Current implementation:
Suggested implementation:
The text was updated successfully, but these errors were encountered: