-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds retime #529
base: master
Are you sure you want to change the base?
Adds retime #529
Conversation
It works off of #528 |
@iblislin What do you think about the interface? I have chosen singleton types instead of Symbols so that a dispatch system can be implemented. |
well, I personally prefer the Symbol, and build with literal type dispatching. e.g. julia> f(::Val{:abc}) = 42
f (generic function with 1 method)
julia> f(x::Symbol) = f(Val(x))
f (generic function with 2 methods)
julia> f(:abc)
42 but I'm not sure about the performance penalty. Maybe you could give that a try. |
Closes #439