mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Use and enforce class final for ~5% performance boost.
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@
|
||||
// For internal use, most graph algorithms use this as a base class
|
||||
|
||||
template <class T_Graph = V3Graph> // Or sometimes const V3Graph
|
||||
class GraphAlg {
|
||||
class GraphAlg VL_NOT_FINAL {
|
||||
protected:
|
||||
T_Graph* m_graphp; // Graph we're operating upon
|
||||
V3EdgeFuncP m_edgeFuncp; // Function that says we follow this edge
|
||||
|
||||
Reference in New Issue
Block a user