commit | 8126c055e453a494a72a44c9cce39fa8ddf14607 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tom@tromey.com> | Sat May 28 09:08:47 2022 -0600 |
committer | Tom Tromey <tom@tromey.com> | Thu Jul 28 14:16:50 2022 -0600 |
tree | 646eea618bb784a1a74bfd8515976e078ff6503a | |
parent | 08b8a139c9e8adcb4ec12a8a17e5836b8b5acb63 [diff] |
Change registry to use less memory The registry code creates "registry_data" objects that hold the free function and the index; then the registry keys refer to this object. However, only the index is really useful, and now that registries have a private implementation, just the index can be stored and we can reduce the memory use of registries a little bit. This also simplifies the code somewhat.