Michał Górny 4d7804af0c python-utils-r1.eclass: Use @a instead of declare check for array
Use bash 5's @a variable substitution instead of `declare -p` check
to determine if `PYTHON_COMPAT` is an array.  This avoids a subshell,
and effectively makes the function roughly 3.5x faster:

```
 * Timing _python_set_impls
real 4854 it/s
user 4862 it/s
```

In practice, this roughly reduces total sourcing time for `dev-python/*`
from 57-58 s to 54 s.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/31454
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-06-17 12:10:15 +02:00
2023-06-03 07:23:32 +02:00
2023-06-11 11:22:27 +03:00
2023-06-14 17:53:08 +01:00
2023-06-12 20:10:42 +01:00
2023-06-15 22:51:13 +01:00
2023-06-17 02:38:26 +01:00
2023-06-01 22:40:11 +02:00
2023-06-15 22:42:26 +01:00
2023-06-08 12:50:16 +02:00
2023-06-17 03:53:47 +01:00
2023-06-16 21:59:08 +07:00
2023-06-01 14:27:01 +02:00
2023-05-26 18:57:44 -04:00
2023-06-03 11:42:41 +02:00
2023-06-13 16:16:13 +02:00
2023-06-01 19:13:51 -05:00
2023-06-08 13:37:30 +02:00
2023-06-05 15:35:57 +02:00
2023-06-12 20:10:42 +01:00
2023-06-08 13:37:04 +02:00
2023-06-14 11:39:36 -04:00
2023-06-17 06:40:39 +01:00
2023-06-14 05:19:11 +01:00
2023-05-25 21:57:16 +02:00
2023-06-17 02:38:26 +01:00
2023-06-02 03:12:27 +01:00
2023-06-17 04:56:01 +01:00
2023-06-15 12:24:19 -04:00
2023-06-16 09:41:46 +03:00
2023-06-11 12:00:05 -07:00
2023-06-15 22:41:16 +01:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%