Robert, my impression was that Oleg was just adding to the point that you were 
making - i.e. that not only is the C code only a bit faster than J, but you 
also need check that it is portable across platforms and you have to compile 
for each supported platform etc.... unlike J.

---Robert Cyr wrote:
> The intent of the note to the forum was simply to point out
> that if properly
> used, J can be quite fast and going to C is normally
> irrelevant and rarely
> worth the trouble.  In the example provided, C has a small
> speed advantage,
> but my tests suggest that with a larger number of selected IP
> adresses, J
> actualy gains on C.  The linux sample code is well written,
> but did not
> benefit from the extensive testing and profiling often required in a
> comercial application.  In this case, profiling might have
> indicated that
> using realloc() is  a bit time consuming.
>
> In fact, I used the wiki format suggested by others as the only way to
> submit C code, considering that attached documents are not
> permitted on this
> forum.
>
> ---Oleg Kobchenko wrote:
> > Is this C code portable? Will it run on Window and Mac?
> > You need to compile C sources for each supported platform,
> > etc, etc.
> >
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to