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

Unsure about 'quit without delay from interactive mode' #55

Closed
ngirard opened this issue Jun 1, 2020 · 2 comments
Closed

Unsure about 'quit without delay from interactive mode' #55

ngirard opened this issue Jun 1, 2020 · 2 comments
Labels
question Further information is requested

Comments

@ngirard
Copy link
Contributor

ngirard commented Jun 1, 2020

I'm afraid I don't understand what the following changelog entry for the newest 2.6.1 version means:

quit without delay from interactive mode after having looked at big directory trees

I tried to locate the related commit but didn't succeed.
Would you mind adding a few explanations ?

Thanks !

@Byron Byron added the question Further information is requested label Jun 2, 2020
Byron added a commit that referenced this issue Jun 2, 2020
@Byron
Copy link
Owner

Byron commented Jun 2, 2020

Thanks for letting me know. I have updated the changelog, and also linked the corresponding commit which sometimes says more than a thousand words.

In short, dua will now always exit instantly from interactive mode - previously there may have been delays due to having to wait for deallocating a potentially massive hashmap, i.e. for millions of deallocations.

Please feel free to comment on the closed issue.

@Byron Byron closed this as completed Jun 2, 2020
@ngirard
Copy link
Contributor Author

ngirard commented Jun 2, 2020

Aah, I got it not, thank you very much !
Indeed, linking to the commit also allows me to learn from your code.
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants