Alberto

Results 105 comments of Alberto
trafficstars

First of all thanks for commenting. Unfortunately for me I have this bad habit of opening PRs very fast with little notice, sorry for that. > Would I be able...

This is the interface, we are still missing implementations for: - Line/Polygon `flip() / flip_ip()` functions (Edit, PRs are there in geometry repo) - Polygon `colliderect() / collidepolygon() / collideswith()`...

Some thoughts: - Now that we added it in the C api why leave it a half baked and honestly bad implementation - People like fast stuff - People shouldn't...

> use_python = True does the same thing as collideobjectsall but is more than twice as fast. 0.14 seconds versus 0.34 seconds, Python 3.12. Your program on my machine (Python...

Alright, Hopefully someone will do this eventually. Actually your idea of using collidelistall will get even faster with my PR: so the future is bright for a python implementation. Now...

I mean I guess we could drop the python 3.12 version down to about 0.15 with the optimization but if optimizing C still gives us 0.08s of runtime AND it's...

As per @ScriptLineStudios on Discord I'll take over this PR.

Ltl graph to show improvement for 32bit surfaces: ![image](https://github.com/pygame-community/pygame-ce/assets/103119829/375d05c4-6bed-4c76-9a5f-17cd10dca4c4)

One test on `Debian Multiarch / Debian (Bullseye - 11) [s390x]` is failing but it's unclear why and it's the only platform exhibiting this behaviour. Hopefully is just a blip...

> @itzpr3d4t0r after typing.py, ColorValue isn't available anymore. If you can you can update the branch and replace ColorValue with ColorLike from pygame.typing I'm not sure i can do it...