如何在低硬件配置下使应用程序快速运行? [英] how to make Application work fast in low hardware config?

查看:61
本文介绍了如何在低硬件配置下使应用程序快速运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

我已经开发了一个应用程序.我希望我的应用程序在 低硬件配置 中运行良好.我该如何运作?

它需要大量的内存和启动和运行时间.我希望它在内存不足的情况下运行(大约需要40,000K)

任何帮助表示赞赏...


在此先感谢您.

hello friends,

I have developed one application. And I want my application to run fast/ good in low hardware configuration. how do i make it work?

it takes so much memory and time start and to run. i want it to run in low memory (takes about 40,000K)

any help is appreciated...


Thanks in advance.

推荐答案

您不能.您必须在开发的早期阶段考虑内存问题.您可能需要重新编码整个应用程序才能使其平稳运行.
http://madgeek.com/Articles/Leaks/Leaks.en.html [ ^ ]
You can''t. You have to consider memory concerns in early stages of development. You may need your whole application recoded to get it run smoothly.
http://madgeek.com/Articles/Leaks/Leaks.en.html[^]


感知的速度有时会误导人.
您确定是内存问题吗?
我已经看到人们花费大量时间和精力来加速程序的一部分,但这并不是真正的问题.
您必须专心于瓶颈.
从速度上来说,访问内存是1ms,访问文件是10ms,访问互联网是1秒.
选择使用较少的内存.
购买更多的内存是另一回事.如果您有更多的内存,则硬盘交换较少,而PC的使用寿命更长.这可能省时又省钱.

如果确定内存出了问题,则可以减少程序的使用.
仅引用您需要的dll.使用更少的库.不要在内存中保存太多数据.
The perception of speed is sometime misleading.
Are you sure the problem is memory.
I have seen people spending a lot of time and effort speeding up part of the program which were not the really problematic.
You have to concentrate on the bottle necks.
In term of speed accessing memory is 1ms, accessing a file is 10ms, accessing the internet is 1 second.
Using less memory is an option.
Buying more memory is another. If you have a little bit more memory your hard disk swap less, and your pc last longer. This might be a time saver as much as a money saver.

If you''re sure the memory is the problem then you can make your program use less.
Reference only the dll''s you need. Use less libraries. Don''t hold to much data in memory.


这篇关于如何在低硬件配置下使应用程序快速运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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