[Feat Request] Add minimum size to File Content Indexing

Discussion related to "Everything" 1.5 Alpha.
Post Reply
biship
Posts: 5
Joined: Wed Oct 04, 2023 3:35 pm

[Feat Request] Add minimum size to File Content Indexing

Post by biship »

Thanks to all the repos I clone, I have many 0-4 byte files, most of which are empty (or have just a windows CRLF).
I don't really want or need to index them.
Also, I don't know if just the file name actually contributes to a memory overhead if it's included in the indexed list.
Are you able to add a minimum size param to the content indexing options?
void
Developer
Posts: 16740
Joined: Fri Oct 16, 2009 11:31 pm

Re: [Feat Request] Add minimum size to File Content Indexing

Post by void »

I don't know if just the file name actually contributes to a memory overhead if it's included in the indexed list.
There is a 1 byte overhead for storing content.

1 byte of file content will require 2 bytes.
2 bytes of file content will require 3 bytes.
etc..

If you index 1 million empty files you are only looking at an extra 1MB of ram usage.


Are you able to add a minimum size param to the content indexing options?
I will consider an option to do this.
Thank you for the suggestion.
Post Reply