-
Notifications
You must be signed in to change notification settings - Fork 3
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
special apply methods #42
Comments
Note that |
Steps:
|
appropriate is based on safety, bytecode size and benchmarking |
For reference, here's a WIP compiler rewrite that unrolls small The resulting bytecode would be cleaner with runtime support, rewrite to Just adding in actual overloads of |
Also worth noting that not all of the innefficiency of |
So we look at this for the 2.13 branch primarily - labelled as such. We also cant add to the List.apply because we have no way to disambiguate List.apply _ |
Hi @retronym Just noticed the date of the 'WIP compiler rewrite' Nov 3 2013 - is that when we had the List() discussion? How many other nuggets of stalled work do you have hidden away needing some affection from us |
the compiler handles List.apply() specially (with 0 args)
consider and discuss with @retronym i fthis is valid for other cases
e.g list.apply with explicit args
Seq, Set, Map for 0 args
The text was updated successfully, but these errors were encountered: