mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 13:36:15 +00:00
I believe there was a O(n^2) device walking issues on startup
- MaybeAddDevice gets called for every device at startup
- MaybeAddDevice calls IsJoystick
- IsJoystick calls SDL_UDEV_GetProductInfo
- SDL_UDEV_GetProductInfo calls udev_enumerate_scan_devices
- udev_enumerate_scan_devices walks all the devices
Prior to commit
|
||
|---|---|---|
| .. | ||
| android | ||
| freebsd | ||
| gdk | ||
| linux | ||
| openbsd | ||
| os2 | ||
| unix | ||
| windows | ||
| winrt | ||