-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
A-spaceArea: Space/PageResourceArea: Space/PageResourceC-refactoringCategory: RefactoringCategory: RefactoringF-questionCall For Participation: Unanswered question (need more information)Call For Participation: Unanswered question (need more information)P-normalPriority: Normal.Priority: Normal.
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.
Metadata
Metadata
Assignees
Labels
A-spaceArea: Space/PageResourceArea: Space/PageResourceC-refactoringCategory: RefactoringCategory: RefactoringF-questionCall For Participation: Unanswered question (need more information)Call For Participation: Unanswered question (need more information)P-normalPriority: Normal.Priority: Normal.