mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
scripts: generate-alt-random: reduce number of emitted sixels
After emitting multiple color bands for each sixel row, the increased amount of sixel data shifted the balance in the profiling data, causing a performance regression in regular ASCII handling.
This commit is contained in:
parent
4fca142f71
commit
29709c6966
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ def main():
|
|||
last_pos = None
|
||||
last_size = None
|
||||
|
||||
for _ in range(100):
|
||||
for _ in range(20):
|
||||
if last_pos is not None and random.randrange(2):
|
||||
# Overwrite last sixel. I.e. use same position and
|
||||
# size as last sixel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue