mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-28 21:07:55 +00:00
to print the labels. This is both a fix (beforehand we would leave enough room to print possibly long subfeature names, even though we do not actually print subfeature names at all) and a significant performance boost. This change alone shrinks the CPU cost of a sensors run by 4.5%. I am still worried that this feature causes us to allocate each label string twice, but I guess this overhead is now acceptable. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4715 7894878c-1315-0410-8ee3-d5d059ff63e0