-
Notifications
You must be signed in to change notification settings - Fork 356
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
Folder listing takes ages #5
Comments
Optimized, update next version Optimization method: the tree directory list can display 1000 items at most. When the detection time exceeds 1.5 seconds, the number of file folder contents will no longer be obtained |
OK, it's faster, but now, it's completely broken. Problem 1 : when opening a folder with 100+ folders, nearly all of them appears empty in the editor. Solution : make folders appear full (use has_children boolean) by default. |
we will optimization next version
发自我的iPhone
…------------------ Original ------------------
From: P2T ***@***.***>
Date: Mon,May 31,2021 4:35 PM
To: kalcaddle/kodbox ***@***.***>
Cc: warlee ***@***.***>, State change ***@***.***>
Subject: Re: [kalcaddle/kodbox] Folder listing takes ages (#5)
OK, it's faster, but now, it's completely broken.
Problem 1 : when opening a folder with 100+ folders, nearly all of them appears empty in the editor.
Problem 2 : impossible to expand/collapse them (they are empty).
Problem 3 : Right click refresh, tries to refresh the parent folder
Solution : make folders appear full (use has_children boolean) by default.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Issue : In the editor tree, when opening a folder having lots of files, the listing is way too long.
Solution : prevent file*time() functions from being fired on folders with more than 100 files.
Complementary solution : do not check parents for subfolders in this case.
The text was updated successfully, but these errors were encountered: