Adding a "cache lazy lookup results" flag #84
Labels
enhancement
Making working code work better.
help welcome
Want to help out? Have a look at issues tagged with this label.
Updating the lazy loader to this:
means that its possible to either do pure lazy loading, always consulting the byte buffer, or one-time lazy loading, where the result gets cached to the property that was lazy loaded. Both have advantages and disadvantages, and it would be nice if there were a way to tell a font which caching policy to for which datatypes.
I'd imagine this as a dedicated cache list object that can be imported:
Which can then be specified in someone's code:
And that the lazy loader can consult when invoked:
The text was updated successfully, but these errors were encountered: