首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
Node v4.1.0 (Stable) 发布
2015年9月17日 15:53 | 阅读 1972 次

Node v4.1.0 (Stable) 发布,值得关注的改进:

  • buffer:

    • Buffers are now created in JavaScript, rather than C++. This increases the speed of buffer creation (Trevor Norris) #2866.

    • Buffer#slice() now uses Uint8Array#subarray() internally, increasing slice() performance (Karl Skomski) #2777.

  • fs:

    • fs.utimes() now properly converts numeric strings, NaN, and Infinity (Yazhong Liu) #2387.

    • fs.WriteStream now implements _writev, allowing for super-fast bulk writes (Ron Korving) #2167.

  • http: Fixed an issue with certain write() sizes causing errors when using http.request() (Fedor Indutny) #2824.

  • npm: Upgrade to version 2.14.3, see https://github.com/npm/npm/releases/tag/v2.14.3 for more details (Kat Marchán) #2822.

  • src: V8 cpu profiling no longer erroneously shows idle time (Oleksandr Chekhovskyi) #2324.

  • timers: #ref() and #unref() now return the timer they belong to (Sam Roberts) #2905.

  • v8: Lateral upgrade to 4.5.103.33 from 4.5.103.30, contains minor fixes (Ali Ijaz Sheikh) #2870.

    • This fixes a previously known bug where some computed object shorthand properties did not work correctly (#2507).

更多改进内容请看发行说明

下载:

文章转载自:开源中国社区 [http://www.oschina.net]    




评论 (0)
游客请输入验证码
最新评论
0
0
收藏