Opened 15 years ago

Last modified 15 years ago

#76 new defect

Allow zzat to output immediately — at Version 2

Reported by: Sam Hocevar Owned by: Sam Hocevar
Priority: major Milestone:
Component: core Version: SVN
Keywords: Cc:
Product: zzuf

Description (last modified by Sam Hocevar)

If a zzat sequence doesn't use rewind() or fseek(), we know that any read byte can be immediately sent to the standard output. This would improve zzcat's speed and memory usage:

  • design a simple bytecode language
  • write another parser that translates the sequence to bytecode
  • check for syntax BEFORE running the bytecode!
  • if rewinding functions don't appear in the bytecode, output characters immediately

Change History (2)

comment:1 Changed 15 years ago by Sam Hocevar

Product: libcacazzuf

comment:2 Changed 15 years ago by Sam Hocevar

Description: modified (diff)
Summary: Allow zzcat to output immediatelyAllow zzat to output immediately
Note: See TracTickets for help on using tickets.