Files
Waybar/src
Austin Horstman e684e701df perf(sni): eliminate redundant g_memdup2 allocation for D-Bus pixbufs
Memory profiling via Valgrind Massif indicated that 10-20% of peak memory allocations within the SNI loop resulted from copying DBus image data payloads via g_memdup2 before modifying them from ARGB to RGBA.

This commit optimizes the pixel conversion by directly allocating the final array via g_malloc and running the ARGB->RGBA transposition in a single pass while copying from the read-only GVariant buffer, entirely eliminating the intermediate g_memdup stage.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-03-02 22:54:07 -06:00
..
2026-02-24 00:49:23 +01:00
2026-02-24 00:49:08 +01:00
2026-02-24 00:49:08 +01:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2025-12-09 18:13:45 +03:00
2026-02-24 00:49:23 +01:00