New issue
Advanced search Search tips

Issue 776964 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Task



Sign in to add a comment

iOS history page should use an NSSet for passing entries that should be retained when filtering

Project Member Reported by s...@chromium.org, Oct 20 2017

Issue description

My assumption is that NSMutableArray is O(n) to perform containsObject, while NSMutableSet should be ~O(1). We'll typically have 100 entries, and it may be called 0 to thousands of times during filtering, depending on how much scrolling was previously done. Should probably test to make sure it's actually an improvement.
 

Comment 1 by s...@chromium.org, Jan 17 2018

Status: Archived (was: Assigned)

Sign in to add a comment