Closed thatguy11325 closed 10 months ago
This PR improves PyBoy's speed when using botsupport_manager().screen().screen_ndarray(). From personal testing with py-spy, these changes decreased the time spent in screen_ndarray() from ~6% to ~2%.
botsupport_manager().screen().screen_ndarray()
screen_ndarray()
This PR improves PyBoy's speed when using
botsupport_manager().screen().screen_ndarray()
. From personal testing with py-spy, these changes decreased the time spent inscreen_ndarray()
from ~6% to ~2%.