mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 18:06:07 +02:00
Internals: Use and enforce class final for ~5% performance boost.
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@
|
||||
// Lex-derived class
|
||||
|
||||
/// Override the base lexer class so we can add some access functions
|
||||
class V3Lexer : public V3LexerBase {
|
||||
class V3Lexer final : public V3LexerBase {
|
||||
public:
|
||||
// CONSTRUCTORS
|
||||
V3Lexer()
|
||||
|
||||
Reference in New Issue
Block a user