1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-19 14:04:17 +03:00
Zdenek Kabelac 22b7d19adf export: optimise flag reading and printing
When parsing list of flags, we can use 'alphabetically'
sorted array and use 'bsearch()' to look for particular bit.

When creating string representation of flags, we can
reduce some unnecessary bit lookups by join those flags
without string description together, so there is no need
to check for those individual 'bits', but still maintaining
the bit validation.

Also exit the printing loop early, if there are no any more
status bit present.
2024-11-01 11:28:36 +01:00
..
2024-08-30 16:51:15 +02:00
2024-08-30 16:51:15 +02:00
2024-10-30 13:08:56 +01:00
2024-05-27 15:16:26 +02:00
2024-08-30 16:51:15 +02:00
2018-06-08 13:40:53 +01:00
2024-08-30 16:51:15 +02:00
2024-10-24 17:38:09 +02:00
2024-08-30 16:51:15 +02:00
2024-10-31 17:55:31 +01:00
2024-09-27 13:42:45 +02:00
2024-08-30 16:51:15 +02:00
2024-06-03 15:30:05 +02:00
2024-05-04 01:01:57 +02:00