Blender Git Commit Log

Git Commits -> Revision 4b46afa

Revision 4b46afa by Brecht Van Lommel (master)
December 22, 2020, 18:26 (GMT)
WM: minor optimization for when there is a large number of notifiers

Don't add the same stats refresh notifiers multiple times, it can be slow to
search the full list of notifiers for duplicates when there are many.

Fundamentally the time complexity in searching for duplicates is still bad.

Inspired by D9901 from Erik Abrahamsson

Commit Details:

Full Hash: 4b46afae09519986462bf1a0ee12419b42836528
Parent Commit: ac82904
Lines Changed: +10, -3

1 Modified Path:

/source/blender/windowmanager/intern/wm_event_system.c (+10, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021