Files
node/lib
Nathan Woltman bca53dce76 path: refactor for performance and consistency
Improve performance by:
+ Not leaking the `arguments` object!
+ Getting the last character of a string by index, instead of
  with `.substr()` or `.slice()`

Improve code consistency by:
+ Using `[]` instead of `.charAt()` where possible
+ Using a function declaration instead of a var declaration
+ Using `.slice()` with clearer arguments
+ Checking if `dir` is truthy in `win32.format`
  (added tests for this)

Improve both by:
+ Making the reusable `trimArray()` function
+ Standardizing getting certain path statistics with
  the new `win32StatPath()` function

PR-URL: https://github.com/nodejs/io.js/pull/1778
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
2015-07-04 13:24:59 +02:00
..
2015-06-15 16:37:37 +02:00
2015-06-11 20:24:44 +02:00
2015-06-11 20:24:44 +02:00
2015-06-11 20:24:44 +02:00
2015-05-09 12:10:02 +09:00
2015-06-11 20:24:44 +02:00
2015-05-25 10:14:18 -04:00
2015-01-21 16:21:31 -05:00
2015-03-25 22:12:18 +03:00
2015-06-15 16:37:37 +02:00
2015-06-11 20:24:44 +02:00
2015-07-01 22:45:06 -07:00
2015-06-15 16:37:37 +02:00
2015-06-11 20:24:44 +02:00
2015-05-25 10:14:18 -04:00
2015-06-11 20:24:44 +02:00
2015-06-30 13:47:57 -07:00
2015-04-29 19:33:43 +02:00
2015-01-31 23:47:29 -05:00