摘要:
python作为动态语言,开发效率相当高,但如我们所知,动态语言的执行效率往往是比较低的,请看下面简单的测试过程:一、 C语言实现100万次打印: 代码:[cpp] view plaincopyprint?#include<stdio.h> #include<time.h> intmain(intargc,char*argv[]){unsignedlongi=1;unsignedlongulNum=1000000;clock_tstart,finish;doubleduration;start=clock();while(ulNum!=0){printf("\ 阅读全文
posted @ 2012-04-13 19:34
lhj588
阅读(7696)
评论(3)
推荐(0)

浙公网安备 33010602011771号