Implement signature-specific reference #7

Closed
opened 2022-07-20 03:05:46 +00:00 by glen · 0 comments
Owner

typed-function already supports self-reference to just the implementation of a specific signature, and it would not be difficult in the context of a PocomathInstance to extend this to signature-specific reference to any other function. This is an efficiency issue for runtime (reducing the number of type dispatches) and for bundling time (reducing how often adding a method invalidates another function). I can't think of an instance in which this feature is needed for correct operation, but it should be implemented in any case because those efficiency grounds could be fairly significant.

typed-function already supports self-reference to just the implementation of a specific signature, and it would not be difficult in the context of a PocomathInstance to extend this to signature-specific reference to any other function. This is an efficiency issue for runtime (reducing the number of type dispatches) and for bundling time (reducing how often adding a method invalidates another function). I can't think of an instance in which this feature is needed for correct operation, but it should be implemented in any case because those efficiency grounds could be fairly significant.
glen added the
enhancement
label 2022-07-20 03:08:09 +00:00
glen closed this issue 2022-07-25 11:33:50 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: glen/pocomath#7
No description provided.