Open
Description
trait SFT
(Space Function Table) was created so that we can use it as trait objects, as at that time, Space<VM, PR>
could not be used as trait objects. To solve this, SFT
was introduced and some of functions in Space
were moved to SFT
.
#108 removed type parameters of Space<VM>
, and makes it possible to merge what is in SFT
back to Space
. We should think about whether we should merge SFT
back with Space
.
Pros:
- Less traits.
- One
Space
trait, no confusion.
Cons:
- As we plan to provide a more efficient mechanism to implement SFT (Per-Space "Dynamic Dispatch" #55), the merging will make it unclear what would be in space function table.