Skip to content

Commit 93513b6

Browse files
committed
version bump 1.3.0: performance
- more specializations in cptable - removed functional badnesses in cptable - bits reworked to minimize functional impact (which caused deopts) some loss in coverage due to standard codepages missing astral characters
1 parent ee431af commit 93513b6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+11806
-11184
lines changed

.jscs.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"requireCommaBeforeLineBreak": true,
3+
"disallowTrailingWhitespace": true,
4+
"disallowTrailingComma": true
5+
}
6+

Makefile

+6
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@ clean:
2323
test mocha: test.js
2424
mocha -R spec
2525

26+
.PHONY: prof
27+
prof:
28+
cat misc/prof.js test.js > prof.js
29+
node --prof prof.js
30+
2631
.PHONY: lint
2732
lint:
2833
jshint --show-non-errors $(TARGETS)
34+
jscs $(TARGETS)
2935

3036
.PHONY: cov cov-spin
3137
cov: misc/coverage.html

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ There are a few utilities that deal with strings and buffers:
6060

6161
var 汇总 = cptable.utils.decode(936, [0xbb,0xe3,0xd7,0xdc]);
6262
var buf = cptable.utils.encode(936, 汇总);
63+
var sushi= cptable.utils.decode(65001, [0xf0,0x9f,0x8d,0xa3]); // 🍣
64+
var sbuf = cptable.utils.encode(65001, sushi);
6365

6466
`cptable.utils.encode(CP, data, ofmt)` accepts a String or Array of characters
6567
and returns a representation controlled by `ofmt`:

bits/10000.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10004.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10005.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10006.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10007.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10010.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10017.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10021.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10029.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10079.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10081.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bits/10082.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)