Re: Need someone very familiar with arrays

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Les wrote:
Thanks for the info,

I am not failiar with your scheme but will take a closer look at it when I get home. This sounds like it may be a viable method but until I play with it there is no way for me to tell <S>. Perhaps take a look at my 2nd post and see if that gives you more guidance. BTW the list does not have to be sorted however it is initially in that format.

Thanks so much and hope I can get something going.
....

Note Robert M's correction on the length/origin of the array in the ReDim step. I always use Option Base 1 so that problem goes away which is why I didn't think of it even though I tried to make the rest universal...

I did read your other posting --

I really don't have anything else to suggest -- unless arrays are really very large and/or you have very tight time constraints (and if so, VB wouldn't seem to be the logical choice for final implementation) a "compiled for speed" executable would seem unlikely to me that the reduction loop would be a major bottleneck unless this is iterative in nature.

If you get farther and have more specific questions/problems, post back...

--
.



Relevant Pages

  • Re: Translating python to scheme
    ... Scheme has mutation, and there are reasons to use it. ... confusing when considering a 2d array. ... in other languages: Lisp Lists and Vectors. ...
    (comp.lang.scheme)
  • Re: Large symbol sizes
    ... representation of a Huffman tree with all of, ... when you can't make an array of all symbols; ... or a huffman coded scheme. ... to the prefixes, 1 or 2 times resulting in a fixed-code scheme). ...
    (comp.compression)
  • Re: Brain going crazy with recursive functions
    ... I want eventually to port this to scheme, but I know python ... I'm in linear_search for the array, I also call linear_search for each ... return linear_search_iter(0, truth_func, array, acc) ...
    (comp.lang.python)
  • Re: arrays vs. vectors
    ... In Scheme it's called the ... in many other languages it's called an array, ... > When a language exists that has an array type and a vector type (e.g. ...
    (comp.lang.scheme)
  • Re: arrays vs. vectors
    ... In Scheme it's called the ... in many other languages it's called an array, ... dimensions, you do it yourself. ...
    (comp.lang.scheme)