pharo-project / pharo-vm

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

[Experiment] Static Sends #823

Closed guillep closed 5 months ago

guillep commented 5 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 5 months ago

why on this repo and the evref one?