Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...



Casey Hawthorne wrote:
To increase speed on manipulating big arrays in Java with minimal
bounds checking, would it be possible to have some operators that only
do bounds checking at the boundaries of the array?

I suppose I'm thinking of some sort of 2D or 3D (or more) iterator?

Maybe some sort of APL like functions?
--
Regards,
Casey

If you're looking for commercial solutions then SmartArrays might be of interest. It's very APL-like and supports Java and .NET, from what I've read in the past. The authors have a long history of development of APL interpreters and systems.


--
TechBookReport Java book reviews: http://www.techbookreport.com/JavaIndex.html


.



Relevant Pages

  • Re: Benchmarking APL
    ... with that of FORTRAN. ... APL a 400% gain in programming efficiency could be obtained with only ... Another good-for-APL array problem, vector convolution, gave these ... Tomcatv, one of the SPEC benchmarks, is more typical of large array ...
    (comp.lang.apl)
  • Re: An APL Archive
    ... freely downloadable for personal use on Linux systems, ... suitable for experimenting with the language and learning it. ... OpenAPL, which could be extended to create a second generation APL. ... Dimensioned array - contains a list of dimensions (e.g. as a C++ ...
    (comp.lang.apl)
  • Re: New tutorial on APL Wiki web site
    ... It might help you to understand the way I think in APL if I repeat your ... I would then use my partition vector to select the indices from those two ... row and cols vectors shows how the selection ... use pv to operate on your chosen entries in the array. ...
    (comp.lang.apl)
  • Re: puzzle
    ... >> integer to an array of Booleans so you could apply to it. ... of course in APL changing an integer into an array of something ... left operand, it evaluates to 1 if that element is a member of the ...
    (comp.programming)
  • Re: anonymous functions - more
    ... I also believe that a sort of 95/40 rule applies to ... programmers, in that 95% of the programmers don't know at least 40% of ... on learning and perfecting our APL knowledge. ... any sort of language guru. ...
    (comp.lang.apl)