246

That's how windows search is made

A little joke made by me :3

Comments
  • 7
    I'm not surprise bro
  • 3
    Hahaha
  • 18
    nah it's not Thread.Sleep(...) it's

    while(true)

    {

    System.MineBitcoins();

    Random rnd = new Random();

    if(rnd.Next(10000000000) == 42)

    {

    break;

    }

    }

    Console.WriteLine(...);
  • 7
    Isn’t the filesystem indexed by windows? Always feels it takes ages to search for files
  • 2
    @monkcs I don't think it is, except if you explicitly generate an index file.
  • 2
    Ahahah, yes 😄
  • 4
    I use everything.exe
  • 1
    Idiot, that produces an error, you have to define the type of fileName. And searchFile should be SearchForFile
  • 1
    It's dangerous to use Windows Explorer search alone. Here, take this!

    https://mythicsoft.com/agentransack...
  • 3
    @kreijstal yup. By void tools. Everything.exe works very fast and finds files unlike windows search which has been broken post windows xp.
  • 2
  • 0
  • 0
    @kreijstal The website looks a bit weird, but it is actually a good program. It's very fast, allows regex search and search by criteria and has some other nice features. About the speed: It can show a list of all 696659 files on the C: drive in 15 seconds (second test 12 seconds) and showing only the results of a real search is even faster.
  • 0
    @Fabian Oh cool, i'm gonna to try that
  • 0
    Naming violation, methods should be on PascalCase
  • 0
    Tip with windows search, use wild cards eg:

    *.exe
    *.xls

    Reduce time complexity from O(n^666) to O(n) 😉
Add Comment