From 6d635923f75b07bf920bba0ce37acaa16b8a1a4f Mon Sep 17 00:00:00 2001 From: ryuukk <44361234+ryuukk@users.noreply.github.com> Date: Wed, 22 Nov 2023 21:45:23 +0100 Subject: [PATCH] Save memory by removing argNames from DSymbol (#763) --- dsymbol/src/dsymbol/conversion/first.d | 1 - dsymbol/src/dsymbol/symbol.d | 5 ----- 2 files changed, 6 deletions(-) diff --git a/dsymbol/src/dsymbol/conversion/first.d b/dsymbol/src/dsymbol/conversion/first.d index a2114690..8ba1d6d4 100644 --- a/dsymbol/src/dsymbol/conversion/first.d +++ b/dsymbol/src/dsymbol/conversion/first.d @@ -1006,7 +1006,6 @@ private: break; } } - currentSymbol.acSymbol.argNames.insert(parameter.acSymbol.name); currentSymbol.acSymbol.functionParameters ~= parameter.acSymbol; diff --git a/dsymbol/src/dsymbol/symbol.d b/dsymbol/src/dsymbol/symbol.d index 6b506a2a..93507090 100644 --- a/dsymbol/src/dsymbol/symbol.d +++ b/dsymbol/src/dsymbol/symbol.d @@ -386,11 +386,6 @@ struct DSymbol // Is alias this symbols DSymbol*[] aliasThisSymbols; - /** - * Names of function arguments - */ - // TODO: remove since we have function arguments - UnrolledList!(istring) argNames; /** * Function parameter symbols