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 14:34:16 +0900
committerKang Seonghoon <public+git@mearie.org>2015-03-03 11:55:37 +0900
commit84e9a61e9c697ffb6f6f783e9190d5a93dfdc10a (patch)
tree6ecbad8ccff7283b3fe845aa09fe56d6fed1ef98 /src/libstd/sys/unix/stack_overflow.rs
parentde00b858d10aec2c39c692d4f61af8e9c9170ee0 (diff)
downloadrust-84e9a61e9c697ffb6f6f783e9190d5a93dfdc10a.tar.gz
rust-84e9a61e9c697ffb6f6f783e9190d5a93dfdc10a.zip
metadata: Implement relaxation of short RBML lengths.
We try to move the data when the length can be encoded in
the much smaller number of bytes. This interferes with indices and
type abbreviations however, so this commit introduces a public
interface to get and mark a "stable" (i.e. not affected by
relaxation) position of the current pointer.

The relaxation logic only moves a small data, currently at most
256 bytes, as moving the data can be costly. There might be
further opportunities to allow more relaxation by moving fields
around, which I didn't seriously try.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions