photo: a frame's tags written into a kept buffer and interned, one string per distinct text - a viewfinder composes every frame, and each tag concatenated a new text the frame dropped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f38581754a
commit
7b91300962
2 changed files with 24 additions and 3 deletions
|
|
@ -47,6 +47,8 @@ export state PhotoState {
|
|||
pht_legend_shot: int = 0
|
||||
pht_cover: int = -1 # the one frame a game shows for the whole roll
|
||||
pht_pending_tags: string = ""
|
||||
pht_tag_sb: StrBuf = sb_new(512) # the tags written in place, then one string per distinct text
|
||||
pht_tag_tb: StrTable = strs_new(4096)
|
||||
pht_pending_mask: int = 0
|
||||
pht_pending_legend: int = 0
|
||||
pht_pending_grade: int = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue