Ask a Question related to ASP, Design and Development.
-
Andrew Durstewitz #1
Sort Array Question...
Which would be faster?
1) Bubble sort
2) Join Array remove empty delimaters and then Split.
I am thinking the second would be a faster routine wouldn't it?
-Andrew
* * * Sent via DevBuilder [url]http://www.devbuilder.org[/url] * * *
Developer Resources for High End Developers.
Andrew Durstewitz Guest
-
Sort Array
Hi Can anyone give me a pointer on sorting this array below #curr.getRateCurrencyCode()# (lowest to highest values) <cfloop from ='1' to... -
sort array by key
Hi, What I want is simple, but I can't figure it out at the moment. Let's say this is an array names $matches: Array ( => Array ( -
Sort a 2D array
Hello, I have a 2D array which I would like to sort. I take a simple example: $tab = 'toto';$tab = 'toto'; $tab = 'aaaa';$tab = 'titi'; $tab... -
sort w/o using an array
I am trying to figure out if there is a way to do a sort that doesn't involve putting an entire file in memory. This kind of thing is available in... -
Help me sort a two - d array
I need help sorting a multidimensional array. I have an array myarray(column_no, row_no) it has 5 columns for this example I have used 4 rows... -
Andrew Durstewitz #2
Re: Sort Array Question...
To return with an array that doesn't have empty items in it. After the
array is populated I reference 2 previously created arrays to insure
proper information. If items aren't needed they are removed (arrItem =
"") from the array.
However, I think this is causing some system degridation when still
having to loop through the empty items later...
-Andrew
* * * Sent via DevBuilder [url]http://www.devbuilder.org[/url] * * *
Developer Resources for High End Developers.
Andrew Durstewitz Guest
-
Aaron Bertrand - MVP #3
Re: Sort Array Question...
Maybe you could have a second array, initially unpopulated, whose upper
bound increments as you add elements to it. Then you don't have an array
peppered with meaningless elements consisting of empty strings.
And please learn how to reply to the correct post using devbuilder, or use a
real newsreader that knows how to thread a conversation correctly.
"Andrew Durstewitz" <adurstew@devbuilder.org> wrote in message
news:3f15a308$0$205$75868355@news.frii.net...> To return with an array that doesn't have empty items in it. After the
> array is populated I reference 2 previously created arrays to insure
> proper information. If items aren't needed they are removed (arrItem =
> "") from the array.
>
> However, I think this is causing some system degridation when still
> having to loop through the empty items later...
>
> -Andrew
>
> * * * Sent via DevBuilder [url]http://www.devbuilder.org[/url] * * *
> Developer Resources for High End Developers.
Aaron Bertrand - MVP Guest
-
Andrew Durstewitz #4
Re: Sort Array Question...
>Maybe you could have a second array, initially >unpopulated, whose
upperarray>bound increments as you add elements to it. Then >you don't have an>peppered with meaningless elements consisting of >empty strings.use a>And please learn how to reply to the correct post >using devbuilder, orI have sent a message to the people who provide my connection to USENET>real newsreader that knows how to thread a >conversation correctly.
(I own DevBuilder.org) to add this feature. Sorry for the confusion on
posts.
-Andrew
* * * Sent via DevBuilder [url]http://www.devbuilder.org[/url] * * *
Developer Resources for High End Developers.
Andrew Durstewitz Guest



Reply With Quote

