User:松/Drafts/Extension:AbuseFilter/Rules format: Difference between revisions

(Translation code removal.)
Line 593:
=== Performance ===
 
As noted in the table above, some of these variables can be very slow.While writing filters, remember that the condition limit is '''not''' a good metric of how heavy filters are.For instance, variables like <tvar|1><code>*_recent_contributors</code></> or <tvar|2><code>*_links</code></> always need a DB query to be computed, while <tvar|3><code>*_pst</code></> variables will have to perform parsing of the text, which again is a heavy operation; all these variables should be used very, very carefully.</translate>
As noted in the table above, some of these variables can be very slow.
<translate>
<!--T:277-->
While writing filters, remember that the condition limit is '''not''' a good metric of how heavy filters are.</translate>
<translate>
<!--T:278-->
For instance, variables like <tvar|1><code>*_recent_contributors</code></> or <tvar|2><code>*_links</code></> always need a DB query to be computed, while <tvar|3><code>*_pst</code></> variables will have to perform parsing of the text, which again is a heavy operation; all these variables should be used very, very carefully.</translate>
<translate>
<!--T:279-->
222

edits