This has now been fixed for the next release.


----- Original Message -----
From: david alis <[EMAIL PROTECTED]>
Date: Sunday, May 20, 2007 4:56 am
Subject: [Jbeta] suggestion for improvement

> Is this the right place to request a performance improvement in {::
> when using it with mapped files?
> 
> Example:
> require'jmf'
> createjmf_jmf_'abcd';100e6
> map_jmf_'abcd';'abcd'
> 
>   abcd=.xyz=.10000$a:   NB. xyz is ordinary array
>   abcd =. (<;:'this is the rule')1000}abcd
>   xyz =. (<;:'this is the rule')1000}xyz
>   12j9 ":(1000) 6!:2'1000{::abcd'
> 0.000184470
>   12j9 ":(1000) 6!:2'1000{::xyz'
> 0.000007284
> 
> It's pretty much 20 times slower with a mapped file.
> I know that >1000{abcd gets around the problem - but i got caught out
> again recently while trying to reduce processing time.
> The bigger the mapped array the greater the effect.
> Regards
> David
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to