| Title | Too hard to swap out address range managers |
| Status | closed |
| Priority | nice |
| Assigned user | Gareth Rees |
| Organization | Ravenbrook |
| Description | The MPS now contains two modules that maintain a "set of address ranges" with insert, delete and find operations: CBS [1] and Freelist [2]. It is likely that we will implement more of these for specialized applications like higher performance or robustness in low-memory situations. But then we'll need to experiment with swapping out one implemention for another, and this is currently a pain. |
| Analysis | Turn these modules into classes using protocol inheritance [3]. |
| How found | inspection |
| Evidence | [1] <//info.ravenbrook.com/project/mps/master/code/cbs.h>[2] < //info.ravenbrook.com/project/mps/master/code/freelist.h>[3] < https://www.ravenbrook.com/project/mps/master/manual/html/design/protocol.html> |
| Created by | Gareth Rees |
| Created on | 2014-03-07 11:05:31 |
| Last modified by | Gareth Rees |
| Last modified on | 2014-05-29 15:08:20 |
| History | 2014-03-07 GDR Created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 186350 | closed | 2014-05-29 15:08:19 | Gareth Rees | Merge branch/2014-03-30/addrset into the master sources. |