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)
commit5f6e16f4b8e154888add01ca7c7a84b6f56b4fdb
tree607712db19b7593049062360e45e94ae88774536
parent2bd2ce2d92a2c3ef74068a53c1564eb1a47fef70
parent63038cefa5d84379378d83f3f118dffd1e62dbde
Merge: faster new factory

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>