[Jprogramming] Symbol exist ?

Dan Bron j at bron.us
Sat Sep 29 05:27:20 HKT 2007


Paul wrote:
> I found one way of improving the speed, by going from 
> explicit to tacit: 

Paul, your current tacit formulation is buggy:

	   SymbolExist 'paul'
	0
	   s:<'paul'
	`paul
	   SymbolExist 'paul'
	0
	   
(for the reasons why, see an earlier message I sent you:  http://www.jsoftware.com/pipermail/general/2007-May/029982.html  )   

I posted a tacit SymbolExists verb earlier today:  http://www.jsoftware.com/pipermail/programming/2007-September/008221.html  .  

Since only you have your symbol data, you might want to compare it to your explicit version.  Of particular note:  it uses  e.
instead of  i.  which is probably faster, for this purpose  (i.e.  e. -: #@:] ~: i.~  but  e.  is more optimized than the latter
verb).

-Dan



More information about the Programming mailing list