Files
blockly/core
Evan W. Patton e1e94271c4 Implement Blockly.Events.filter in linear time (#1205)
* Implement Blockly.Events.filter in linear time

For large App Inventor projects (order 1k+ blocks, 100+ top-level
blocks), the O(n^2) behavior of Blockly.Event.filter was causing
performance issues when rearranging blocks or pasting from the
backpack. This commit provides a linear merge implementation using a
key that uniquely identifies a block so that multiple events targeting
the same block are merged. This change benefits from O(1) amortized
lookup using an object as a key-value store.

* Add event filter unit tests and fix logic bugs

* Update Blockly.Events.filter unit tests
2017-08-18 14:18:47 -07:00
..
2017-07-20 16:47:37 -07:00
2017-03-03 13:22:50 -08:00
2017-02-03 14:01:18 -08:00
2017-07-20 16:47:37 -07:00
2017-06-08 15:44:43 -07:00
2016-12-09 22:10:36 -08:00
2017-08-03 12:35:14 -07:00
2017-05-24 16:14:24 -07:00
2017-05-24 16:14:24 -07:00
2017-04-19 14:38:22 -07:00
2015-07-02 19:59:32 -07:00
2017-06-09 14:42:14 -07:00
2017-06-20 13:15:28 -07:00