注册表碎片整理程序 [英] Registry Defragmenter

查看:27
本文介绍了注册表碎片整理程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是出于好奇,但我见过几个(其中一些非常流行)称为注册表碎片整理程序的软件.虽然我可以看到它们提供的好处,但我很好奇您究竟如何进行注册表碎片整理?请注意,我不是在要求软件名称,只是对其如何以编程方式完成的基本描述.我知道微软有磁盘碎片整理 API.这是他们正在使用的吗?还是有注册表碎片整理"api?

This is out of curiosity, but I have seen several (and some of them very popular) software called registry defragmenter. While I can see the benefit they offer, but I am very curious on how exactly do you do registry defragmenting? Note that I'm not asking for software name, just a basic description of how it's done programmatically. I understand there is disk defragmenting API from microsoft. Is this that they are using? Or is there "registry defragmenting" api?

推荐答案

虽然磁盘碎片整理会有所帮助,但可以获得的更重要的速度优势是安排注册表节点,以便典型的深度优先搜索将同一注册页面中顺序访问的节点.

While disk defragmenting would be helpful, the more important speed benefit which could be obtained would be arranging the registry nodes so that a typical depth-first search would put the sequentially-accessed nodes in the same registry page.

我不知道有任何 API.该算法是一个简单的重新排序和重写操作,由于处理 Windows 的并发访问而变得复杂.

I'm not aware of any API for that. The algorithm is a straightforward reordering and rewriting operation, complicated by dealing with Windows' concurrent access.

这篇关于注册表碎片整理程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆