mumble-voip/mumble
Iterate through positional audio program names only once
Ouverte
#5 712 ouverte le 1 juin 2022
clientfeature-requestgood first issue
Métriques du dépôt
- Stars
- (5 642 étoiles)
- Métriques de merge PR
- (Merge moyen 6j) (7 PRs mergées en 30 j)
Description
Context
Right now Mumble iterates through every program name of every PID for every positional audio plugin. This is quite wasted CPU time if either the PID count is high or plugin count is high, as the time complexity is in $\mathcal{O}(PIDNum \cdot pluginNum )$.
Description
A better solution would be if each plugin tells Mumble what program name it is looking for, so that only Mumble has to iterate over the PID-list once.
Mumble component
Client
OS-specific?
No
Additional information
This issue originated from https://github.com/mumble-voip/mumble/pull/5704#issuecomment-1141938952