<div dir="ltr"><div><div><div>Hi Nyall<br><br></div>I compared 2.12 with current master. But I don't see an improvement. Opening the attribute table takes around 10 seconds for layers with approx. 2000 features with one virtual field (with the attribute(get_feature()) expression). Rendering is also really slow when using rule based renderer on the virtual field.<br><br></div>regards<br></div>Stefan <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 30, 2015 at 7:22 PM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p dir="ltr"><br>
On 31 Dec 2015 2:01 AM, "Stefan Ziegler" <<a href="mailto:stefan.ziegler.de@gmail.com" target="_blank">stefan.ziegler.de@gmail.com</a>> wrote:<br>
><br>
> Hi<br>
><br>
> I add a virtual field to a layer with e.g. following expression<br>
><br>
> attribute(get_feature('pnf_pnf','t_id',afrom),'year')<br>
><br>
> This works really great. Then I'm using this new virtual field for filtering the features in the rule based renderer. How does affect this the rendering performance? It seems that it really slows down rendering even with layers with only approx 600 features each.<br>
><br>
> If so, can the speed improved with e.g. some to develop caching mechanism?</p>
</span><p dir="ltr">Try with the current master version - this should be MUCH faster now. I'd love to hear any feedback of how you find the changes improve (or don't improve!) your situation.</p>
<p dir="ltr">Nyall<br></p>
<p dir="ltr">><br>
> regards<br>
> Stefan <br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</p>
</blockquote></div><br></div>