[ANN] IPAddress 0.7.0 released

6 views
Skip to first unread message

bluemonk

unread,
Sep 8, 2010, 8:16:08 AM9/8/10
to Ruby IPAddress
Hi,

I've released IPAddress 0.7.0.

http://github.com/bluemonk/ipaddress

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
Reply all
Reply to author
Forward
0 new messages