diff options
| author | Marc Tiehuis <marctiehuis@gmail.com> | 2019-04-09 17:44:49 +1200 |
|---|---|---|
| committer | Marc Tiehuis <marctiehuis@gmail.com> | 2019-04-11 19:36:35 +1200 |
| commit | 78af62a19a87904193c59f46ac554330ba872564 (patch) | |
| tree | af89875455723e0ec9bd2d3f1159b85258054d30 /std/debug.zig | |
| parent | 87d8ecda462688c597c726b1da5dbd5f8478e0fc (diff) | |
| download | zig-78af62a19a87904193c59f46ac554330ba872564.tar.gz zig-78af62a19a87904193c59f46ac554330ba872564.zip | |
Pack big.Int sign and length fields
This effectively takes one-bit from the length field and uses it as the
sign bit. It reduces the size of an Int from 40 bits to 32 bits on a
64-bit arch.
This also reduces std.Rational from 80 bits to 64 bits.
Diffstat (limited to 'std/debug.zig')
0 files changed, 0 insertions, 0 deletions
