monarch_dodra: > Arguably, your code allocates a lot. What version (1-2-3) do you mean? > I'll give it a shot (next week). I think the LZW entries are OK :) So if you want to work on Rosettacode it's better to write an entry that is missing in D. Bye, bearophile