Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opt:favorite global data structure adjust #2178

Draft
wants to merge 1 commit into
base: staged
Choose a base branch
from

Conversation

xiaoyifang
Copy link
Owner

No description provided.

Comment on lines +42 to 43
//key hold the headword, value holds the folders.
QMap< QString, QSet< QString > > folderFavoritesMap;
Copy link
Collaborator

@shenlebantongying shenlebantongying Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe name this thing better?

https://www.google.com/search?q=map+naming+convention

  • wordToFavoritesFolders(Map),wordToFavFolders(Map)
  • wordFavoritesFoldersMap,wordFavFoldersMap
  • (get)FavoritesFoldersByWord,(get)FavFoldersByWord

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@xiaoyifang xiaoyifang marked this pull request as draft February 19, 2025 13:54
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.

2 participants