Hi. I think it's easily possible to optimize functions that StrAllocCopy and StrAllocCat use - HTSACopy and HTSACat. Since the length of the arguments is known in these functions it may be better to use memcpy rather than strcpy(). Is it portable? If yes, I can submit a patch. Best regards, -Vlad
