duplicate evaluation of tags

5 May
2014
5 May
'14
5:11 a.m.
Hi all, there is still potential for optimisation: To be able to create an index which gives all rules for a tag like surface=gravel, we order the expressions in the rules so that they start with a tagkey=* or tagkey=value. We use the existing tags of an element to find the rules that have to be checked. Now, if we find two rule like surface=gravel | surface=cobblestone {...} surface=* & surface ~'(abc|xyz)' {...} after searching for rules with tagkey surface=gravel we should save the info that the 1st term in the expression is true. However, there is more to it: Other rules may delete or chang the tag surface=gravel, so this may require too much logic. Maybe it can be done with the new cacheId. Gerd
3947
Age (days ago)
3947
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gerd Petermann