[Flashforth-devel] Alignment in comma-quote
Brought to you by:
oh2aun
From: Ed <dx...@gm...> - 2022-02-22 13:02:39
|
I noticed ,” in FF pads out the string to the next aligned address. That’s fine for colon definitions but can waste space in other situations e.g. flash create msgs ," abcd" ," efgh" ," ijkl" ," mnop" ," qrst" : .msg ( n -- ) msgs swap for c@+ + aligned next c@+ type ; The alternative is to remove alignment from ,” and include it only when necessary e.g. in S” . The downside is such a change may break existing code. |