Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emfindex-dev] Indexes/caches to speed up queries

Hi,

I've just checked in an exemplary Query/ExecutorStrategy/Cache combination to speed up queries to find references targeting a given resource. As expected, query time drops significantly, while indexing time and memory consumption increase.

Have a look at
org .eclipse.emf.emfindex.query.AllReferencesToResourceQueryExecutorStrategy
  org.eclipse.emf.emfindex.query.AllReferencesToResourceQuery
  org.eclipse.emf.emfindex.query.ReferencesToResourceCache
for the implementation. It demonstrates how a client can build optimized queries against caches if he/she wants to.

I have also removed the Index parameter from the command interfaces as proposed by Martin in the telco.

Have a nice weekend
Jan


--
Dr. Jan Köhnlein
Senior Software Architekt

Telefon: +49 (0) 431 / 5606-337
Mobile: +49 (0) 151 / 17396687
Telefax: +49 (0) 431 / 5606-339

http://www.itemis.de
jan.koehnlein@xxxxxxxxx

itemis AG
Niederlassung Kiel
Schauenburgerstr. 116
24118 Kiel
http://www.itemis.de/

Rechtlicher Hinweis:
Registergericht: Amtsgericht Dortmund HRB 20621
Sitz der Gesellschaft: Lünen
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Prof. Dr. Burkhard Igel (Vorsitzender), Stephan Grollmann, Michael Neuhaus



Back to the top