Merge: faster new factory
authorJean Privat <jean@pryen.org>
Tue, 26 Apr 2016 00:20:55 +0000 (20:20 -0400)
committerJean Privat <jean@pryen.org>
Tue, 26 Apr 2016 00:20:55 +0000 (20:20 -0400)
new factories are badly implemented.
They assume a stub temporary receiver exists.
This temporary receiver is required because it currently holds the method and the formal types.

However, this object could be reused if the formal types are the same.
It's what is doing the PR.

This is still a temporary workaround solution, doing things correctly need a lot of more work.

Asked by @R4PaSs

Pull-Request: #2038
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


Trivial merge