由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Comparison Re: 组合的枚举算法?
相关主题
请教一个javascript的问题C++ question
怎样记数多次递归调用种某项操作的次数?[合集] image processing & comparison questions
reverse LL recursivelyEfficient algorithms for finding number, help please
[合集] 问个递归的问题请教一下text comparison software.
Python: What does this mean?DW BI ETL 问题 - Data Validation and Recordset Comparison
recurvion真的很难懂~~为毛本版就整天争论语言呢。。。
树的前序遍历Performance Comparison Between Node.js and Java EE
An algorithm question.请教一个C++ typedef的问题
相关话题的讨论汇总
话题: recursive话题: comparison话题: time话题: result话题: output
进入Programming版参与讨论
1 (共1页)
P***t
发帖数: 1006
1
I think proof is better than arguing. So I changed tjq's program a little bit
to do a comparison:
Here is the result: with M=11, N=30, compiling with VC 6, SP5,
With optimization as Max speed,
==================
recursive
Time 1952
non-recursive
Time 1503
Count 54627300
recursive is 450 ms slower than non-recursive. But this is in when we almost
did nothing with the result (in the function "output", uncomment the return).
If I just do a sum over all data in output, the result is:
===============
1 (共1页)
进入Programming版参与讨论
相关主题
请教一个C++ typedef的问题Python: What does this mean?
free code comparison softwarerecurvion真的很难懂~~
Why PostgreSQL is way BETTER than $MSQL树的前序遍历
这道题有什么好思路?An algorithm question.
请教一个javascript的问题C++ question
怎样记数多次递归调用种某项操作的次数?[合集] image processing & comparison questions
reverse LL recursivelyEfficient algorithms for finding number, help please
[合集] 问个递归的问题请教一下text comparison software.
相关话题的讨论汇总
话题: recursive话题: comparison话题: time话题: result话题: output