[Ohrrpgce] SVN: teeemcee/13229 Shrink Slice memory usage by turning most enums into bytes
subversion at HamsterRepublic.com
subversion at HamsterRepublic.com
Sat Apr 22 20:34:37 PDT 2023
teeemcee
2023-04-22 20:34:35 -0700 (Sat, 22 Apr 2023)
306
Shrink Slice memory usage by turning most enums into bytes
Unfortunately Enum is 4 bytes (32-bit) or 8 byte (64-bit).
Also replaced TargResidue's 64-bit floats with 32-bit ones, which is still excessive, 16-bit fixed-point would be plenty.
Reduces sizeof(Slice):
32-bit: 248 -> 216
64-bit: 376 -> 296 !!
---
U wip/menuedit.bas
U wip/sliceedit.bas
U wip/slices.bas
U wip/slices.bi
U wip/util.bi
More information about the Ohrrpgce
mailing list