pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
113 stars 68 forks source link

[Experiment] Static Sends #823

Closed guillep closed 3 months ago

guillep commented 3 months ago

Add static send bytecode, activating a given method instead of doing a lookup. The method to activate is stored in the literal frame.

This PR for now includes:

This PR misses:

Some small benches:

[17 lateBoundRecursiveFactorial.] bench. "'2774597.961 per second'"
[17 staticBoundRecursiveFactorial.] bench.  "'3693598.280 per second'"
[17 staticBoundRecursiveFactorialHardcore.] bench. "'2170939.636 per second'"
Ducasse commented 3 months ago

why on this repo and the evref one?