mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Performance: Replace string by special single-copy YulString class.
This commit is contained in:
@@ -49,10 +49,10 @@ string inlinableFunctions(string const& _source)
|
||||
InlinableExpressionFunctionFinder funFinder;
|
||||
funFinder(ast);
|
||||
|
||||
return boost::algorithm::join(
|
||||
funFinder.inlinableFunctions() | boost::adaptors::map_keys,
|
||||
","
|
||||
);
|
||||
vector<string> functionNames;
|
||||
for (auto const& f: funFinder.inlinableFunctions())
|
||||
functionNames.emplace_back(f.first.str());
|
||||
return boost::algorithm::join(functionNames, ",");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user