自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 python 函数 详解(一)

1 def is executable code. Python functions are written with a new statement, the def. Unlike functions in compiled languages such as C, def is an executable statement— your function does not exist u

2013-04-05 12:01:36 1508

原创 python 函数参数传递

Python’s pass-by-assignment scheme isn’t quite the same as C++’s reference parameters option, but it turns out to be very similar to the C language’s argument-passing model in practice: • Immutable

2013-04-04 11:27:39 642

原创 node.js 数组性能比较

当数组元素的个数为100000时,删除前10000个元素, shift性能较高: shitf用时0ms,而delete用了403ms; 当数组元素的个数为1000000时,删除前10000个元素, delete性能较高: shitf用了98105ms,deletef用时4396ms delete删除相同数目的元素,所用时间居然跟数组长度成正比! 还是pop

2013-04-02 15:39:23 2805

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除