Closed KlausC closed 4 years ago
At several spots in the source code I found this pattern:
x = get!(dict, key, Constructor())
That will create an instance of Constructor every time the line is executed (while needed only once for each key). It should be replaced by
Constructor
x = get!(dict, key) do; Constructor() end
Great report!
At several spots in the source code I found this pattern:
That will create an instance of
Constructor
every time the line is executed (while needed only once for each key). It should be replaced by