blag / ipaddr-py

Automatically exported from code.google.com/p/ipaddr-py
0 stars 0 forks source link

I speed up your project in my clone repository #99

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I optimized your project. Now one of my function that witch bottleneck was your 
code is 5x faster. So I strongly suggest that you merge my 3 commits there:

https://code.google.com/r/fredericbastien-ipaddr-py-speed-up/source/list

Do google code allow to make a pull request like github?

thanks for this project, it make my own code much simpler

Frédéric

Original issue reported on code.google.com by frederic...@gmail.com on 7 Nov 2012 at 4:57

GoogleCodeExporter commented 9 years ago
I finished my speed up. The bottleneck is not the __str__ function and I don't 
know how to speed it up again.

thanks for the projects. Its really useful. I strongly suggest you to check my 
speed up commits. There are many of them that you can include without making 
your code uglier. There are a few that maybe you don't want to include as it 
make the code a little uglier, but I kept in comment the old code, so that way 
people can read it easily.

Original comment by frederic...@gmail.com on 30 Nov 2012 at 10:02

GoogleCodeExporter commented 9 years ago
Hi Frederic,

Sorry for not seeing this sooner. I'll check this out tonight.

ipaddr-py will be getting less and less love in the future since it's been 
accepted into the python stdlib as ipaddress. The api for ipaddress is slightly 
different (hence the different name) but will be familiar to anyone used to 
ipaddr.

Original comment by pmo...@google.com on 10 Dec 2012 at 11:42

GoogleCodeExporter commented 9 years ago
Hi,

thanks for looking at this. It would be useful to tell that in the main page 
what you said and telling that ipaddress is included in Python 3.3. We are 
still using python 2.X here, so your library will still be useful for some 
times. I think many project still don't support python 3.

Original comment by frederic...@gmail.com on 20 Dec 2012 at 2:12