Timeline for Using a list of rules to update its own values
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 18, 2017 at 16:48 | comment | added | Stitch | @yode The main reason this is the fastest solution -- the real list is much longer and is called many times, so the speed is important. The duplicates are nice, but not a deal breaker :) | |
Apr 18, 2017 at 10:07 | comment | added | C. E.♦ | @yode The question is pretty clear on that actually, "how can I update the list such that RHS is evaluated using all the rules" is not the same as "How can I update the list such that RHS is evaluated using all the rules and deleete duplicates". Also OP's solution does not delete duplicates. | |
Apr 18, 2017 at 2:46 | comment | added | yode | But you have not stated you hope to reserve those duplicates elements. :) | |
Apr 18, 2017 at 2:30 | vote | accept | Stitch | ||
Apr 18, 2017 at 2:30 | comment | added | Stitch | All other solutions are very nice too, but this is the fastest one, especially for messy lists. Also, it is the only one that doesn't eliminate the duplicates in the list and doesn't alter the order (not important, but good to have). | |
Apr 17, 2017 at 23:17 | history | answered | C. E.♦ | CC BY-SA 3.0 |