commit | c6367e7f2a68b2418a98dfe9e829f17f62ba403a | [log] [tgz] |
---|---|---|
author | Fedor Indutny <[email protected]> | Fri Jan 30 12:05:28 2015 |
committer | Fedor Indutny <[email protected]> | Fri Jan 30 14:41:34 2015 |
tree | 742265232c082d1f37a1380c50d9c6086941224d | |
parent | 7604e6decc441a1110567e98f20f7ee122179d54 [diff] |
node: speed up ParseEncoding Handle most popular cases in a trie-style, branching on a first character. Remove useless HandleScope which was only eating time without producing any value. PR-URL: https://github.com/iojs/io.js/pull/664 Reviewed-By: Ben Noordhuis <[email protected]>

This repository began as a GitHub fork of joyent/node.
io.js contributions, releases, and contributorship are under an open governance model. We intend to land, with increasing regularity, releases which are compatible with the npm ecosystem that has been built to date for Node.js.
The official name is io.js, which should never be capitalized, especially not at the start of a sentence, unless it is being displayed in a location that is customarily all-caps (such as the title of man pages).
Prerequisites:
gcc
and g++
4.8 or newer, orclang
and clang++
3.3 or newer$ ./configure $ make $ [sudo] make install
If your Python binary is in a non-standard location or has a non-standard name, run the following instead:
$ export PYTHON=/path/to/python $ $PYTHON ./configure $ make $ [sudo] make install
To run the tests:
$ make test
To build the documentation:
$ make doc
To read the documentation:
$ man doc/iojs.1
Prerequisites:
PATH
.> vcbuild nosign
To run the tests:
> vcbuild test
Intl
(ECMA-402) support:Intl support is not enabled by default.
This option will build with “small” (English only) support, but the full Intl
(ECMA-402) APIs. With --download=all
it will download the ICU library as needed.
Unix / Macintosh:
$ ./configure --with-intl=small-icu --download=all
Windows:
> vcbuild small-icu download-all
The small-icu
mode builds with English-only data. You can add full data at runtime.
Note: more docs are on the joyent/node wiki.
With the --download=all
, this may download ICU if you don't have an ICU in deps/icu
.
Unix / Macintosh:
$ ./configure --with-intl=full-icu --download=all
Windows:
> vcbuild full-icu download-all
:-(
The Intl
object will not be available. This is the default at present, so this option is not normally needed.
Unix / Macintosh:
$ ./configure --with-intl=none
Windows:
> vcbuild intl-none
$ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
You can find other ICU releases at the ICU homepage. Download the file named something like icu4c-**##.#**-src.tgz
(or .zip
).
Unix / Macintosh
# from an already-unpacked ICU: $ ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu # from a local ICU tarball $ ./configure --with-intl=[small-icu,full-icu] --with-icu-source=/path/to/icu.tgz # from a tarball URL $ ./configure --with-intl=full-icu --with-icu-source=http://url/to/icu.tgz
Windows
First unpack latest ICU to deps/icu
icu4c-##.#-src.tgz (or .zip
) as deps/icu
(You'll have: deps/icu/source/...
)
> vcbuild full-icu
The io.js project team comprises a group of core collaborators and a sub-group that forms the Technical Committee (TC) which governs the project. For more information about the governance of the io.js project, see GOVERNANCE.md.
Collaborators follow the COLLABORATOR_GUIDE.md in maintaining the io.js project.