Re: Efficient way of comparing items in an array

2008-10-30 Thread Raymond Wan
Hi Dave, Dave Tang wrote: On Thu, 30 Oct 2008 16:04:31 +1000, Dave Tang <[EMAIL PROTECTED]> wrote: I have written the following code but I wish I could think of a much better way of achieving my output. Any tips and suggestions will be greatly appreciated! Thanks in advance. Oops I mean (

Re: Efficient way of comparing items in an array

2008-10-29 Thread Dave Tang
On Thu, 30 Oct 2008 16:04:31 +1000, Dave Tang <[EMAIL PROTECTED]> wrote: Hi everybody, I am working with a sorted array (sorted from smallest to largest), containing coordinates as such: 13645692 13645693 13645694 13645695 13645696 13645697 13645698 13645699 13645700 13645701 13645702 13645

Efficient way of comparing items in an array

2008-10-29 Thread Dave Tang
Hi everybody, I am working with a sorted array (sorted from smallest to largest), containing coordinates as such: 13645692 13645693 13645694 13645695 13645696 13645697 13645698 13645699 13645700 13645701 13645702 13645703 13645704 13645705 13645706 13645707 13645708 13645709 13645710 13645711