-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bookmark suggestions performance improvement (#799)
Task/Issue URL: https://app.asana.com/0/1199230911884351/1203228817591315/f Tech Design URL: CC: Description: This PR improves the performance of the bookmark suggestions feature. Previously, this function was iterating over all bookmark URLs, then mapping those to an array of bookmarks, before concatenating them all into one big array. This was done every single time you typed a character into the address bar, despite the result of the function being the same every single time. This now returns the existing sorted bookmarks array, doing no extra work.
- Loading branch information
Showing
5 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters