[ANN] IPAddress 0.7.0 released

Hi,

I've released IPAddress 0.7.0.

This new release is focused on two points:

* compatibilily with IPAddr

almost all IPAddress methods are compatible with their IPAddr
counterpart, with the exception of wrong and flawed methods

* performances improvement

IPAddress is now around 50% faster than IPAddr on all normal tasks. As
an example, this is the speed improvement on initialize and to_s

      user system total real
ipaddr 68.960000 20.930000 89.890000 ( 90.105755)
ipaddress 44.410000 3.880000 48.290000 ( 48.414564)

Some other changes from previous versions:

* Creating a new IPv4 address with no prefix now defaults to /32
* New IPv4::parse_classful to parse a IPv4 address as classful
* IPv4#private? to check if an IPv4 is private

If you want to join the discussion, please subscribe

http://groups.google.com/group/ruby-ipaddress

Best regards,
Marco

0.7.0 is not a valid IP address. How did you manage to sneak this by the ICANN?

SCNR :slight_smile:

robert

···

On Wed, Sep 8, 2010 at 2:13 PM, Marco Ceresa <ceresa@gmail.com> wrote:

I've released IPAddress 0.7.0.

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

I've released IPAddress 0.7.0.

0.7.0 is not a valid IP address. How did you manage to sneak this by the ICANN?

I told them it was the solution for IPv4 address exhaustion :slight_smile:

SCNR :slight_smile:

Lol, np

···

On Wed, Sep 8, 2010 at 2:16 PM, Robert Klemme <shortcutter@googlemail.com> wrote: