Search time for HKCR and HKLM

  • Thread starter Thread starter Boris
  • Start date Start date
B

Boris

Greetings
I have noticed that it takes longer to search for a match under HKCR than
HKLM \ Software \ Classes (and even under HKLM)

This is strange because there are more keys under HKLM than HKCR and HKCR is
supposed to be a subset of HKLM

Is there an explanation? I have tested search times with Registry Crawler
and RegmagiK and the results are similar.
 
Boris said:
Greetings
I have noticed that it takes longer to search for a match under HKCR than
HKLM \ Software \ Classes (and even under HKLM)

This is strange because there are more keys under HKLM than HKCR and HKCR is
supposed to be a subset of HKLM

Is there an explanation? I have tested search times with Registry Crawler
and RegmagiK and the results are similar.

It's not the number of keys that makes the difference, it's
the type and length.
 
I understand this but doesn't HKCR serve as a shortcut to
HKLM\Software\Classes? That would mean that HKLM contains HKCR and more. So
why is it faster to search?

Rick said:
It's not the number of keys that makes the difference, it's
the type and length.

Do you wish your Registry Editor could do more? Then try RegmagiK 4.5.3.

Unique enhancements integration with Windows Explorer, 30% faster search,
and address bar with autocomplete make RegmagiK a great addition to any
power-user's toolset. Rated 5 stars on download3000:
http://www.download3000.com/download_6828.html.

RegmagiK runs on Windows 98, NT, 2000, XP Home, XP Professional, and Windows
Server 2003.
Visit www.RegmagiK.com for more information and free download.
 
Could it be you're doing subsequent searches (which will
pull the registry files from cache instead of from disk)?

Just a guess..
 
Not likely. I have done many searches and they all give pretty much the same
timing. All HKLM searches that include keys, values, and data took about 11
seconds, same searches under HKCR took about 23 sec.
My HKLM has 69585 subkeys and HKLM 98355 subkeys,
LOCAL_MACHINE\SOFTWARE\classes reports 69583 subkeys (different from HKLM,
but almost the same. may be the difference is caused by a bug in my counting
function)?

--
Do you wish your Registry Editor could do more? Then try RegmagiK 4.5.3.

Unique enhancements integration with Windows Explorer, 30% faster search,
and address bar with autocomplete make RegmagiK a great addition to any
power-user's toolset. Rated 5 stars on download3000:
http://www.download3000.com/download_6828.html.

RegmagiK runs on Windows 98, NT, 2000, XP Home, XP Professional, and Windows
Server 2003.
Visit www.RegmagiK.com for more information and free download.
 
Back
Top