Post #2900479
2025-09-13 09:58 UTC
Replies (1)
-
@colin_mcmillen@piaille.fr 2025-09-13 10:10
Let the composer display the original toot, along with "Your quote:", when quoting. https://github.com/colinleroy/a2tools/commit/c559536f60c1e61ee1283db740dad660b633fea9 The `if(compose_mode[0] == 'r')` got replaced with a switch() { case 'r': case 'q': ... } You guessed why, it is tighter than if(compose_mode[0] == 'r' || compose_mode[0] == 'q'). The cc65 optimizer is far from perfect, and that or'ed if would load the variable twice, get the first char of it twice, and compare it twice. With a switch, only the comparison is done twice. Cost so far, +46 bytes - but we're not done yet, as sending the quote would, for now, make a reply! #RetroComputing #Mastodon #AppleII