On 6/15/07, Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> wrote:
Any suggestions on how to speed up the selection in the array based on
substring match?

This is about twice as fast on my machine, and seems more
reasonable about intermediate result size.

  seltag=: a: -.~ (] #~ [ -: ] {.~ [EMAIL PROTECTED]) L: 0

I imagine that building a custom state machine (which only extracts
relevant tags) would be even faster.

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

Reply via email to