Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load type mappings #2301

Merged
merged 2 commits into from
Sep 15, 2022
Merged

Commits on Jul 5, 2022

  1. Lazy load type mappings

    This appears to fix issue rsim#2256. I believe it should have the same memory implications as the intention in rsim#2199. The type maps are loaded once when they are first called. Only one instance of the mapping is ever created.
    
    Fortunately this was enough to solve the problem, but if there were a need, this could easily be worked into the clear_cache! API to reset it at a later point in the application just by setting the @type_map to nil.
    andynu committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    fbfb52a View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. Pass along clear_cache! args.

    andynu committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    b614547 View commit details
    Browse the repository at this point in the history