Skip to content

Conversation

@x0sina
Copy link
Collaborator

@x0sina x0sina commented Jan 6, 2026

No description provided.

x0sina added 2 commits January 6, 2026 12:26
- Replace slice-based storage with runtime-only map for O(1) operations
- Eliminate binary search and sorting operations
- Add updateUsers method for batch updates with single lock
- Build slices from map only at serialization time in ToBytes()
- Maintain zero behavior and schema changes
- Improve performance for high-traffic scenarios
- Simplified client map initialization by removing unnecessary nil checks and deletions.
- Enhanced account handling for Vmess, Vless, Trojan, and Shadowsocks protocols with type assertions for better clarity and performance.
- Maintained existing functionality while improving code readability and maintainability.
@coderabbitai
Copy link

coderabbitai bot commented Jan 6, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@M03ED M03ED merged commit c3f9e61 into dev Jan 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants