Posted 17 years ago
by Matt Adamson
Guys,
I was going to implement a simple caching mechanism to cache the Document object when it's built and parses a file. Given it can take a second or two to parse a document it would be nice if it was near instantaneous when switching between files.
Do you have any specific recommendations here on how I do this or should a simple cache of the Document object and then setting this reference to the syntax editor.
Thoughts appreciated
Thanks
Matt
I was going to implement a simple caching mechanism to cache the Document object when it's built and parses a file. Given it can take a second or two to parse a document it would be nice if it was near instantaneous when switching between files.
Do you have any specific recommendations here on how I do this or should a simple cache of the Document object and then setting this reference to the syntax editor.
Thoughts appreciated
Thanks
Matt