Closed pdxiv closed 3 years ago
If we create "long actions" we will have an infinite number of commands available in actions. There is then no need to save on println
commands. Instead, we should try to save space in the message table, so that any print ""
commands are replaced by println
(unless "buckaroo mode" is invoked). The exception is when a println
command is before or after a regular print
command, in which case a newline should be added to the following or preceding print statement message text.
fixed in commit f155b9eef17be7efec8f0426c4fcbe5a0ba8b9d5
To improve optimizations and reduce the space inside an action, it should be possible to (optionally?) replace
println
withprint ""
. This way, ifprintln
is used adjacent to aprint
statement (which it often is), the number of commands used in an action could be reduced.