2 ms·
Microsoft's error was the dynamic DLL part of the whole thing. They should have used a simple rules engine with which programs can register an icon, text, and a
by jiggawatts 5y ago
Microsoft's error was the dynamic DLL part of the whole thing. They should have used a simple rules engine with which programs can register an icon, text, and an action. Processing ~1 KB of contiguously stored rules for each right-click would take less than 1ms even on the slowest budget laptop running on battery.
There are many similar design decisions in Windows that cause many orders of magnitude slowdown. For example, start menu indexing is also absurdly slow, despite processing only about 100 KB of data in total.