Typed Racket
Go to file
Sam Tobin-Hochstadt faba3b4d8f Shrink serialized type representations more.
* Use helper functions to construct list types and simple function types.
  These are extremely common and their serialization is verbose.

* Split unions into numeric and non-numeric parts for serialization.
  Often numeric types have simple representations, and the union is
  polluted by one extra non-numeric type.

* Use the raw `sort` procedure to avoid keyword expansion
  NB: This doesn't affect zo size, only expanded code size.

Saves 300k on zo files in `math`.

original commit: 2a507c6881151541e367b0b6a159c086a0ecca7e
2013-09-11 15:17:08 -04:00
pkgs/typed-racket-pkgs Shrink serialized type representations more. 2013-09-11 15:17:08 -04:00