Changes between Initial Version and Version 1 of Ticket #35293, comment 39
- Timestamp:
- 08/03/2017 07:59:36 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35293, comment 39
initial v1 1 == Test 7. 21 == Test 7.3 2 2 3 3 Looping over the entire emoji array for every block in staticize is pretty wasteful. Instead, looping over it at the start to create a smaller array of emoji that we'll probably be replacing means we reduce the size of the inner loop significantly. … … 7 7 '''Analysis''': 8 8 - We're now about the same or significantly faster on all tests, when compared to 6.1. 9 - When compared to the old behaviour, 7. 2is about the same, or a bit slower for primary use cases.9 - When compared to the old behaviour, 7.3 is about the same, or a bit slower for primary use cases. 10 10 11 11 '''Conclusion''': Despite now being the fastest, the optimisation applied here could be applied to 6.1, too. That'll need more testing to compare.