- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#12289 - Skin comments take up space in the skin buffer
At least in r30593 wps, sbs and fms comment lines seem to be stored in the skin buffer.
My testing used iLike for nano, on a sim. This theme uses 88K of skin buffer (more than the default allowance, I had to bump WPS_MAX_TOKENS a bit). Stripping comment lines reduces that to 63.7K. The comment lines take about 25513 bytes in the files, which is (almost?) exactly the difference.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I have no idea what’s happening here! The comments are not being stored on the skin buffer (see libs/skin_parser/skin_parser.c skin_parse_comment() ) so I thught prehaps it is just allocating a LINE element for each one, but that doesnt seem to be happening according to the checkwps output (and elements are we’d need a few hundred to fill the buffer). But I can confirm that manually skipping leading comments at the begingin of the file does partially solve it, so there definitly is a bug (of course [saint]’s comment style can be said ot be broken also :) )
investigating
err, that may actually be it.. the wps is doing 24KB of just skin_element structs, most being empty