mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-25 12:39:18 +03:00
Investigation has shown that the construction of the Enum values to create the LineInfo object is expensive [0]. Add a method to retrieve the line name from a given offset without the overhead of generating a full LineInfo object. [0]: https://github.com/brgl/libgpiod/issues/149#issuecomment-3319448712 Signed-off-by: Vincent Fazio <vfazio@gmail.com> Link: https://lore.kernel.org/r/20251009130516.3729433-8-vfazio@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2.6 KiB
2.6 KiB