[Bug 41693] Support short-circuit bool ops
https://bugzilla.wikimedia.org/show_bug.cgi?id=41693 Legoktm legoktm.wikipe...@gmail.com changed: What|Removed |Added CC||mybugs.m...@gmail.com --- Comment #4 from Legoktm legoktm.wikipe...@gmail.com --- *** Bug 51784 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 41693] Support short-circuit bool ops
https://bugzilla.wikimedia.org/show_bug.cgi?id=41693 --- Comment #5 from Helder mybugs.m...@gmail.com --- From Bug 51784: Currently, if I create a filter having the code - false false false false false - and then make an edit in any page, the filter's page will have a message saing ... it consumes 5 conditions of the condition limit. There is no reason for it to consume the last 4 conditions, because the first one is already false. Notice the behavior is a little better if the code is changed to - false ( false false false false ) - because it will now consume just 2 conditions. Ideally, it should consume only 1 condition in both cases (see [[Short-circuit evaluation]]). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 41693] Support short-circuit bool ops
https://bugzilla.wikimedia.org/show_bug.cgi?id=41693 Andre Klapper aklap...@wikimedia.org changed: What|Removed |Added Priority|Unprioritized |Low -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 41693] Support short-circuit bool ops
https://bugzilla.wikimedia.org/show_bug.cgi?id=41693 --- Comment #3 from Liangent liang...@gmail.com 2012-11-04 11:43:37 UTC --- (In reply to comment #2) But they *do* short-circuit now, though not in a proper way. I just see some filters only saying `cond1 cond2` where cond1 is very cheap and is false for most of edits (for example, user_name == 'FooBar') but cond2 is some more expensive consume more condition limit than expected (in short-circuited evaluation). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 41693] Support short-circuit bool ops
https://bugzilla.wikimedia.org/show_bug.cgi?id=41693 --- Comment #2 from Victor Vasiliev vasi...@gmail.com 2012-11-04 02:00:48 UTC --- But they *do* short-circuit now, though not in a proper way. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 41693] Support short-circuit bool ops
https://bugzilla.wikimedia.org/show_bug.cgi?id=41693 Liangent liang...@gmail.com changed: What|Removed |Added CC||vasi...@gmail.com --- Comment #1 from Liangent liang...@gmail.com 2012-11-02 14:27:26 UTC --- Adding vvv to CC who is the author of AF parser. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l