ksss / AsciiPack

AsciiPack is an object serialization inspired by MessagePack.
http://ksss.github.io/AsciiPack/
MIT License
4 stars 1 forks source link

[FEATURE] Re-design type map #1

Closed ksss closed 10 years ago

ksss commented 11 years ago

FEATURE

0.1.0

I plan to re-design the type map in v0.1.0.

format namefirst charbase decimal
int 4a16
int 8b16
int 16c16
int 32d16
int 64e16
(blank)f
uint 8g16
uint 16h16
uint 32i16
uint 64j16
float 32k16
float 64l16
(blank)m
bin 8n16
bin 16o16
bin 32p16
(blank)q
map 4r16
map 8s16
map 16t16
map 32u16
array 4v16
array 8w16
array 16x16
array 32y16
(blank)z
positive fixint0-9A-F
fixbinG-V
nilW
falseX
trueY
(blank)Z
ksss commented 11 years ago

create a branch 0.1.0 https://github.com/ksss/AsciiPack/tree/0.1.0

ksss commented 10 years ago

benchmark result of 0.1.0:js/bench.js(iMac2011 cpu:i5 mem:16G). https://gist.github.com/ksss/6895790

ksss commented 10 years ago

merge was over! https://github.com/ksss/AsciiPack/pull/2