I asked this on the user list and got no responses (I seem to consistently
ask the answerless questions), but maybe this is better suited for this
list.
I've got a form with quite a few different checkbox fields. My template
lists the contents using arraymap, and it works fine. But I'm thinki
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
For everybody interested in...(this was a very time consuming
investigation)...thanks to Stephan here it comes
(calls could be optimized)...
if( $dataValue->getProperty() instanceof SMWDIProperty):
$fuArr[]= $dataValue->getProperty()->getKey();
else
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
[[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 Medi