commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steffen Heil" <li...@steffen-heil.de>
Subject RE: isBlank implementation question for educational purposes, please
Date Fri, 26 Jan 2007 13:38:40 GMT
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

Mime
View raw message