A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.
The Windows registry subsystem must be pretty fast. Looking at regmon there's a lot of activity going on.
Anyone know what the db/structure is?
Is it all in memory or does it read from a persisted storage?
Thursday, October 02, 2008
Try this http://home.eunet.no/pnordahl/ntpasswd/WinReg.txt for an explanation of the various flavors of Windows Registry. I'm sure the MSDN knowledge base has more information than you could ever want as well. It looks to me like a hash-table for finding keys is the main speed-up method, plain text searches aren't really all that fast, in my experience. Also, the registry gets read many more times than it is written to.
This topic is archived. No further replies will be accepted.Other recent topics
Powered by FogBugz