The answers were very instructive. Thanks. Two questions. I do not understand the use of the openarray parameter in relation to performance. Is it better for the speed than using seq[char] ?
If the length of the output array of a proc is not known in advance, are there general rules to accomplish a good performance? For example using tables.