Date: Wed, 07 Aug 2019 06:16:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239672] gcov: Optimize list traverse by using LIST_FOREACH_SAFE Message-ID: <bug-239672-227-E8oIfNBUjd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-239672-227@https.bugs.freebsd.org/bugzilla/> References: <bug-239672-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239672 Chuhong Yuan <hslester96@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #206304|0 |1 is obsolete| | --- Comment #2 from Chuhong Yuan <hslester96@gmail.com> --- Created attachment 206319 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206319&action= =3Dedit gcov_fs patch v2 Use two passes to optimize the traverse. In the first pass, add all nodes which need to be removed to a queue. In the second pass, traverse the queue and remove the nodes. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239672-227-E8oIfNBUjd>