MPS issue job003684

TitleToo hard to swap out address range managers
Statusclosed
Prioritynice
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionThe 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.
AnalysisTurn these modules into classes using protocol inheritance [3].
How foundinspection
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 byGareth Rees
Created on2014-03-07 11:05:31
Last modified byGareth Rees
Last modified on2014-05-29 15:08:20
History2014-03-07 GDR Created.

Fixes

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.