Closed fcallejon closed 5 years ago
You could also put the whole DomainParser
in a singletone, where do you see the advantage of your variant?
That is another approach alright, but this way I can cache the entire tree the way I see fit (with expiration and so on) independently from the DomainParse
and not be hit by itś initialization each time I want to use it.
The MVC singleton change it's just as an example, it can be rolled back.
@fcallejon Thanks, i have push a new version
DomainParser
to accept an initializedDomainDataStructure
.35