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

Is there a way to optimize adding custom columns #347

Open
vvyoko opened this issue Dec 25, 2022 · 0 comments
Open

Is there a way to optimize adding custom columns #347

vvyoko opened this issue Dec 25, 2022 · 0 comments

Comments

@vvyoko
Copy link

vvyoko commented Dec 25, 2022

I implemented an aspect ratio column with reference to spacefree
Specifically, take the values ​​of the first box and the second box
and then divide them

20221225165434

Normal browsing is fine
But when clicking and sorting it will be stuck for a long time
Currently 2670 files take more than 1 minute

20221225170645

1,I took a look at the CustomSort function
It requires all items to be added to the array first
This causes it to not be sorted step by step like other built-in attributes (it won't get stuck in the whole process)

2,2, I need to get the value in the third box when sorting.
But the ExtendedProperty function doesn't seem to be able to directly get the value in this box
As a result, I have to repeatedly get the values ​​in the first and second boxes and calculate.
Is there any function that will allow me to directly get the value in the third box

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

No branches or pull requests

1 participant