Java: Cache params string computation.

This commit is contained in:
alexet
2021-09-17 18:15:47 +01:00
parent cb0a567c03
commit 49f8f46354

View File

@@ -638,6 +638,7 @@ private string paramsStringPart(Callable c, int i) {
* Returns the empty string if the callable has no parameters.
* Parameter types are represented by their type erasure.
*/
cached
string paramsString(Callable c) { result = concat(int i | | paramsStringPart(c, i) order by i) }
private Element interpretElement0(