gnome-shell/js/gdm
Alessandro Bono ade4b23796 cleanup: Minimize deep_unpack() usage
deep_unpack()[1] will unpack a variant and its children, but only up to one level.
lookup_value()[2] will directly search for a value with a linear scan.

Performing a deep_unpack() + lookup can be a more expensive operation when we are
looking for just a single value compared to just perform the lookup_value() directly
in C. Avoid the deep_unpack() usage when we perform a single check presence.

[1] https://gjs.guide/guides/glib/gvariant.html#deepunpack
[2] https://docs.gtk.org/glib/method.Variant.lookup_value.html

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2416>
2022-08-10 10:29:24 +00:00
..
authList.js gdm: Add AuthList control 2022-01-13 15:03:02 -05:00
authPrompt.js authPrompt: Don't propagate serviceName to setMessage 2022-08-06 23:30:55 +00:00
batch.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
credentialManager.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
loginDialog.js loginDialog: Don't call _loginScreenSessionActivated() when not required 2022-08-10 09:48:35 +00:00
oVirt.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
realmd.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
util.js gdmUtil: Fix ShellUserVerifier retry logic 2022-08-09 16:42:59 +00:00
vmware.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00