Hi > It is still constructing a new object, which is expensive.
It has constant runtime. Remember: Java uses a young collection for this. (If at all, your VM might optimize this to a stack object, which is never allocated.) Regards, Steffen
smime.p7s
Description: S/MIME cryptographic signature