Parsing is pretty fast, so hard to measure.

One big thing "against" linear representations executed with do(".) is that it 
can only return a noun.






On Sunday, May 3, 2020, 07:51:32 p.m. EDT, Raoul Schorer 
<[email protected]> wrote: 





Hi all,

I have been comparing manually built identical phrases (a dyadic verb 
with its arguments) and executing it with ". or `:6. My understanding 
was that the advantage of atomic representation was that it bypassed 
parsing and that the execution model was:

input string -> parsing -> atomic representation -> interpretation -> result

However, I was surprised to see no speedup at all when transitioning 
from string to atomic representation. Of course, my particular code may 
be the issue. What are the usual strengths and weaknesses of string vs. 
atomic representation?

Thanks!

Raoul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to