1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib/skin_parser
William Wilgus b94b0d3bf4 Skin engine, optimize hot paths
callgrind identified check_viewport and scan_int as pretty hot code paths on startup
and playback

check_viewport uses strlen to check the string has at least 4 characters
we can just check if str[3] != '\0' without walking potentially much further
and no function call..

scan_int was building a buffer for atoi to parse when we can just do it in the loop
directly

Change-Id: Ie028980333cbed4c066d8ea547a89cf4fad76808
2025-02-08 00:49:28 -05:00
..
Makefile skin_parser: Modernize Makefile. 2020-09-04 19:13:54 +02:00
skin_buffer.c [Fix Yellow] remove DEBUGF from skin_parser.c cleanup spaces 2024-12-03 01:48:50 -05:00
skin_buffer.h
skin_buffer_debug.pl
skin_debug.c skin_debug: Fix missing PERCENT tag dump 2024-12-03 20:37:55 -05:00
skin_debug.h
skin_parser.c skin_parser add empty parser callback remove guard conditionals 2024-12-08 15:12:28 -05:00
skin_parser.h skin_parser Reduce ram usage for conditionals on %ft() file text tags 2024-12-08 03:52:38 -05:00
skin_parser.make
skin_scan.c Skin engine, optimize hot paths 2025-02-08 00:49:28 -05:00
skin_scan.h Fix yellow 2015-01-05 19:09:33 +01:00
SOURCES
symbols.h
tag_table.c [Feature] %ft file text tags add prefix search 2024-12-22 01:11:10 -05:00
tag_table.h [Feature] skinengine subline timeout hide line for n seconds 2024-12-07 23:02:22 -05:00