so this problem has nothing to do with new/delete, it comes from your algorithm. use some analysis tools to check which function take most of the time, change it.

scorpio (scorpio)
(#185052@0)
2001-8-30 -05:00

回到话题: 请问用VC++编程时,如果用到new来进行内存的分配,是否特别影响执行速度。我程序中的数组原先是30*30的,不用内存分配即可执行。可现在改成80*80的,

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈

URL:   
http://www.rolia.net/zh/post.php?f=0&p=185052