Longer lines of code are faster.. eh?

I mean, I did have another programmer vehemently argue once long ago that putting more code on one line would make it “run faster.” But of course he was stark raving nuts. Trying to explain to him (with a straight face–which was challenging) how the interpreter or compiler would break that long line apart into discrete one-instruction-per-line statements–essentially identical to the result if he had gone ahead and just made the code readable instead of trying to out-clever the compiler–had no effect on him whatsoever. But I digress.

Craig Tullis on a StackOverflow answer.
Photo by Daniel on Pexels.com

How to disable the pagefile in Windows 10 [You can, but DON’T DO IT]

Um… this site mentions “it is not recommended to disable the paging file”.
And then next they state, “How to disable the paging file in Windows 10”.

Some people.. sigh. Turning off the page file to gain performance is a myth!
Even if you have lots of RAM..

Don’t disable the pagefile.

Windows needs it to reliably run, especially when you start multitasking on the computer.

No matter how much RAM your computer has, Windows will still occasionally swap memory out to disk.

If you really want a performance boost, set the Minimum and Maximum values to the same value to avoid fragmenting the pagefile even more. Or better yet, upgrade to an internal SSD (Solid State Drive)!

Here is what I recommend (having personally tried them):

Amazon.com has a few SSD for sale at a decent price: Search for “Internal Solid State Drives“. The Samsung SSD (sata III) are really nice drives at a nice price.

If your computer’s motherboard has an NVMe slot, then buy a Samsung M.2 NVMe drive (2280 is the most common length). PCIe adapters are also available for NVMe drives. These drives are extremely fast. Like 2+ GB/second fast!

Good luck and happy hunting! If you have any questions, please comment below.