Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Asbetha6726ynah it's not Thread.Sleep(...) it's
while(true)
{
System.MineBitcoins();
Random rnd = new Random();
if(rnd.Next(10000000000) == 42)
{
break;
}
}
Console.WriteLine(...); -
monkcs5466yIsn’t the filesystem indexed by windows? Always feels it takes ages to search for files
-
Mitiko62056yIdiot, that produces an error, you have to define the type of fileName. And searchFile should be SearchForFile
-
Fabian10136yIt's dangerous to use Windows Explorer search alone. Here, take this!
https://mythicsoft.com/agentransack... -
@kreijstal yup. By void tools. Everything.exe works very fast and finds files unlike windows search which has been broken post windows xp.
-
Fabian10136y@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.
-
mrrmc2256yTip with windows search, use wild cards eg:
*.exe
*.xls
Reduce time complexity from O(n^666) to O(n) 😉
Related Rants
That's how windows search is made
A little joke made by me :3
joke/meme
lol
c#
win10
windows
funny
windows 10
csharp