about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorKang Seonghoon <public+git@mearie.org>2015-03-02 20:26:36 +0900
committerKang Seonghoon <public+git@mearie.org>2015-03-03 11:55:37 +0900
commit36a09a162dd04cf1ba092a837978cecea88bc529 (patch)
treecec657ac8f1f57ac8c302970d4d08f6d6aa1523c /src/libstd/sys/unix/stack_overflow.rs
parent7b6e43c07f18243873d7cff428cca8cf8283467b (diff)
downloadrust-36a09a162dd04cf1ba092a837978cecea88bc529.tar.gz
rust-36a09a162dd04cf1ba092a837978cecea88bc529.zip
metadata: Flatten `tag_table_id` and `tag_table_val` tags.
This avoids a biggish eight-byte `tag_table_id` tag in favor of
autoserialized integer tags, which are smaller and can be later
used to encode them in the optimal number of bytes. `NodeId` was
u32 after all.

Previously:

                       <------------- len1 -------------->
    tag_table_* <len1> tag_table_id 88 <nodeid in 8 bytes>
                       tag_table_val <len2> <actual data>
                                            <-- len2 --->

Now:

                      <--------------- len --------------->
    tag_table_* <len> U32 <nodeid in 4 bytes> <actual data>
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions