[ANN] IPAddress 0.7.0 released

M

Marco Ceresa

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,185
Latest member
GluceaReviews

Latest Threads

Top