-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize automaticMuteBlockedUsers Function for Improved Performance
Description: Refactored the automaticMuteBlockedUsers function to enhance performance and reduce resource usage. Implemented batch processing for muting blocked users, allowing multiple users to be muted in a single operation. Utilized a Set for storing blocked user IDs, improving lookup efficiency when checking if a user is blocked.
- Loading branch information
1 parent
fc0cdc1
commit 24f80fb
Showing
1 changed file
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters