Bug 255531 - Checking if the vector is empty is redundant
Summary: Checking if the vector is empty is redundant
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-17 10:23 PDT by Seija K.
Modified: 2023-04-24 10:24 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seija K. 2023-04-17 10:23:05 PDT
No need to call .isEmpty() if we always check to see if it is at least the size of an uint32_t.
Comment 1 Radar WebKit Bug Importer 2023-04-24 10:24:25 PDT
<rdar://problem/108459953>