Re: V Unpretty code

2002-11-04 Thread Patrick Salmon
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 12:50 PM Subject: Re: V Unpretty code > In article <00e201c28426$051681e0$[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Patrick Salmon) writes: > >I have a piece of code that does repeated searches

V Unpretty code

2002-11-04 Thread Patrick Salmon
There's always another way to do it, right? I have a piece of code that does repeated searches through an input string and modifies it according to certain criteria. What I have works great, but I'd like to know how to write it better/more efficiently. Given that I'm going over the same record

Re: Decoding code.

2002-10-28 Thread Patrick Salmon
You wrote: - Original Message - The algorithm used is the Guttman-Rosler Transform which is based on the Schwartzian Transform. The paper describing it can be found here: http://www.sysarch.com/perl/sort_paper.html A better way to convert IP addresses for sorting is to use pack() and unp

Decoding code.

2002-10-28 Thread Patrick Salmon
ng. Does the '8' value reflect the total number of IP fields to be worked on? What's happening with the final string of text? I think I'm _real_ close to fully understanding this (in fact, writing out this mail has helped a chunk, too, by making me think through exactly what I'm asking for help with), but am that teeny little bit short of an epiphany here. Thanks in advance for any guidance. Patrick Salmon.