Bug 199782 - Streamline PODIntervalTree code and remove ValueToString
Summary: Streamline PODIntervalTree code and remove ValueToString
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks: 199452
  Show dependency treegraph
 
Reported: 2019-07-13 18:19 PDT by Darin Adler
Modified: 2019-12-09 09:13 PST (History)
21 users (show)

See Also:


Attachments
Patch (74.92 KB, patch)
2019-07-14 11:34 PDT, Darin Adler
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews101 for mac-highsierra (3.53 MB, application/zip)
2019-07-14 12:52 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (3.10 MB, application/zip)
2019-07-14 13:00 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews117 for mac-highsierra (3.13 MB, application/zip)
2019-07-14 13:41 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews121 for ios-simulator-wk2 (2.72 MB, application/zip)
2019-07-14 13:46 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews215 for win-future (13.56 MB, application/zip)
2019-07-14 14:10 PDT, EWS Watchlist
no flags Details
Patch (74.57 KB, patch)
2019-12-06 09:27 PST, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (77.22 KB, patch)
2019-12-07 09:12 PST, Darin Adler
no flags Details | Formatted Diff | Diff
Patch (77.93 KB, patch)
2019-12-07 11:40 PST, Darin Adler
andersca: review+
andersca: commit-queue+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2019-07-13 18:19:15 PDT
Streamline PODIntervalTree code and remove ValueToString
Comment 1 Darin Adler 2019-07-14 11:34:28 PDT Comment hidden (obsolete)
Comment 2 EWS Watchlist 2019-07-14 12:52:11 PDT Comment hidden (obsolete)
Comment 3 EWS Watchlist 2019-07-14 12:52:12 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2019-07-14 13:00:11 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2019-07-14 13:00:13 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2019-07-14 13:41:40 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2019-07-14 13:41:42 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2019-07-14 13:46:03 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2019-07-14 13:46:04 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2019-07-14 14:10:39 PDT Comment hidden (obsolete)
Comment 11 EWS Watchlist 2019-07-14 14:10:41 PDT Comment hidden (obsolete)
Comment 12 Darin Adler 2019-12-06 09:27:08 PST Comment hidden (obsolete)
Comment 13 Darin Adler 2019-12-07 09:12:44 PST Comment hidden (obsolete)
Comment 14 Darin Adler 2019-12-07 11:40:12 PST
Created attachment 385104 [details]
Patch
Comment 15 Darin Adler 2019-12-08 11:57:12 PST
OK, everything seems to be working perfectly now and all the bubbles on EWS are green, so I'd like to find someone to review.
Comment 16 Anders Carlsson 2019-12-09 08:32:07 PST
Comment on attachment 385104 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=385104&action=review

> Source/WebCore/platform/PODRedBlackTree.h:104
> +        insertNode(new Node(T { data }));

Would be nice if insertNode took a unique_ptr - seeing "new" in modern C++ code always makes me uneasy.
Comment 17 Darin Adler 2019-12-09 09:01:53 PST
Comment on attachment 385104 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=385104&action=review

>> Source/WebCore/platform/PODRedBlackTree.h:104
>> +        insertNode(new Node(T { data }));
> 
> Would be nice if insertNode took a unique_ptr - seeing "new" in modern C++ code always makes me uneasy.

I’ll try that out in a follow-up.

(As you know, often my challenge is when to *stop* tweaking and refactoring.)
Comment 18 Darin Adler 2019-12-09 09:13:33 PST
Committed r253290