[[Has Model::x]] is not an ask, it's an annotation. My general rule of thumb
is to absolutely minimize the nbr of asks a page performs.
  -----Original Message-----
  From: Sal Quintanilla [mailto:salqu...@gmail.com]
  Sent: Friday, March 15, 2013 7:44 AM
  To: 'Jeroen De Dauw'
  Cc: 'Semantic MediaWiki developers'
  Subject: Re: [SMW-devel] arraymap versus #ask performance


  It looks like a bunch of these:



  * {{#arraymap:{{{Model|}}}|,|x|[[Has Model::x]]}}



  From: Jeroen De Dauw [mailto:jeroended...@gmail.com]
  Sent: Friday, March 15, 2013 7:52 AM
  To: salqu...@gmail.com
  Cc: Semantic MediaWiki developers
  Subject: Re: [SMW-devel] arraymap versus #ask performance



  Hey,


  > or will the asks be fast simply because it's querying the loaded page?

  All queries are run against the store. The page you are on has no affect.
Running a query twice will have twice the cost of running it once. We have
no smart caching going on here yet. MWJames has been poking at that a while
back though this has not gone into the code base yet AFAIK.

  > If I replace all my arraymaps with {{#ask: [[{{PAGENAME}}]]'s

  I'm not sure what your arraymap approach actually looks like so cannot
answer this.

  Cheers

  --
  Jeroen De Dauw
  http://www.bn2vs.com
  Don't panic. Don't be evil.
  --
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to