Skip to content

Uniqtypes should be more compact #12

@stephenrkell

Description

@stephenrkell

Currently, each binary generates quite a lot of uniqtype data. This could easily be made more compact in various ways.

  • remove the cache word
  • don't generate anonymous subrange types for arrays
  • relax the invariant that related[0] always exists
  • for degree-1 pointer types, avoid storing the ultimate pointee and immediate pointee separately
  • strip the -meta.so so it no longer has .symtab and .strtab
  • check that the ".size" calculation is accurate (I think it might be doing extra padding)
  • "short-allocate" some cases of the union, if they don't need the full amount of space
  • only include make_precise if some flag (somewhere) says it's present
  • do more clever string compression on subobject names, perhaps, or otherwise tweak our naming conventions to better exploit assemble- and link-time string merging

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions