Neal:
Interesting! Thank you. Memory isn't a problem
Unfortunately currently the sort-decorate-undercorate in Phobos is not very fast.
but I would still like to learn how to write more efficient programs. If i posted my code would you be able to give me some advice?
There is far more than just me around here. If you post code, someone usually can write come comment.
Bye, bearophile