♻️ refactor: rustify ass writer write_comment_with_animation
#328
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
动机
biliass rustify 计划
biliass(replaceprotobufdep with rust binding) #306filter_bad_chars#309Commentstruct #311convert_timestamp#312ass_escape#314convert_color#315get_zoom_factor#316convert_flash_rotation#317OptionComment#318test_free_rows#319find_alternative_row#320mark_comment_row#321write_head#324write_comment#325write_normal_comment#326write_comment_with_animation#328解决方案
本 PR 再次带来性能回归,12s -> 27s,但之后会优化回来merge 后好像没有变化,还是 12s类型