Hi Steve,

thanks for testing. I think your idea would require more work with little gain:
1) We have to make sure that no action deletes a. This information is not 
available now.
2) We have to know much more info about the rules than what we get in keystring.
3) We have to change the way how we access the index.
We only gain a smaller set of rules but we would still evaluate the same amount 
of rules.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Steve 
Ratcliffe <[email protected]>
Gesendet: Dienstag, 1. Mai 2018 23:49:01
An: [email protected]
Betreff: Re: [mkgmap-dev] patch to improve style throughput


Hi Gerd,

> @Steve: Please let me know if you can think of a case that might not work.

It looks good, I couldn't find anything that didn't work.

It may not be possible or worth doing this, but if a rule can resolve,
then its actions can be ignored unless continue with_actions/propagate
is set.

So in the following, rules 2 and 4 can never match with a=1.

0: a=* {set b='${something}'}
1: b=2 {set c=2} [0x1]
2: c=* {set a=2}
3: c=1 {set d=2}
4: c=2 {set d=1}
5: d=1 [0x10401 resolution 24]
6: d=2 [0x10402 resolution 24]
7: b=1 [0x2]

Steve
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to