Delphi:你究竟有几个好妹妹(MM)
时间:2010-12-14 来源:lsuper
这是官方的测评:
ScaleMM 的特点是适应性强,可以和 FastMM 协同,不过注意他的 readme 的说明:
= Limitations =
Currently only memory till 16384 bytes are handled by ScaleMM. Larger blocks
are handled by the previous memory manager.
Also there is no check for memory leaks. If you run it on top of FastMM (default
MM of Delphi 2007+), you will get memory leaks of ScaleMM itself.
由作者同时管理的如 asmprofiler 等项目看来,作者功底还是非常深厚的,不过 ScaleMM 这个项目非常年轻(Oct 13, 2010 才提交的 Google),当前项目中应用 ScaleMM 还是有风险,需要评估。
最后,现在是多核时代,内存管理器的性能提升往往能为程序执行的效率带来巨大的提升,Delphier 真的非常有“艳”福,有 FastMM、TopMM、ScaleMM、RecyclerMM、… 等开源的内存管理器,除此之外,还有 NexusDB Memory Manager 等商业的。
至于如何选择?这个也和谈恋爱差不多,经过比较、磨合,适合自己的就是最好的。 ;>
相关阅读 更多 +
排行榜 更多 +