Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

user type-dispatch (XS and PP) #15

Open
rurban opened this issue Sep 11, 2015 · 0 comments
Open

user type-dispatch (XS and PP) #15

rurban opened this issue Sep 11, 2015 · 0 comments
Assignees

Comments

@rurban
Copy link
Member

rurban commented Sep 11, 2015

Optimizer (compile-time)

We typed now all ops, and can optimize (up and downgrade) on them.

But we want to pass native typed data (e.g. INT_PADSV) to subs also, when they allow
native types.

We want to keep optimized sub args when the sub allows it, and don't want to downgrade all typed ops within pushmark.

Dispatch (run-time)

Our compile-time type double-dispatch is slow but needs not much memory, we just cycle all type variants until we find it.

The user-based dispatch needs to be fast, so we need dispatch tables, or even a dynamically adjusted tree. it is also multi-dispatch, not just a simple double dispatch

Damian went in Dios with a too trivial arity check first, while he really should have started from left.

@rurban rurban self-assigned this Sep 11, 2015
@rurban rurban added this to the v5.24.0 milestone Sep 13, 2015
@rurban rurban modified the milestones: v5.24.1, v5.24.0 May 10, 2016
@rurban rurban modified the milestones: v5.26.0, v5.24.1 Oct 11, 2016
@rurban rurban removed this from the v5.26.0c milestone Mar 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant