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 #2300

Closed
wants to merge 33 commits into from

Conversation

andynu
Copy link
Contributor

@andynu andynu commented Jul 4, 2022

(This time against the master branch)

This appears to fix issue #2256. I believe it should have the same memory implications as the intention in #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.

yahonda and others added 30 commits December 8, 2021 00:18
Merge pull request rsim#2224 from yahonda/update_readme_for_70
Prepare release v7.0.0 [skip ci]
all attributes serialized before writing
Merge pull request rsim#2219 from koic/add_if_exists_to_remove_index
Add `ruby-oci8` as dependency only for CRuby
…plaltes

Require 'activerecord', not 'rails' not to attempt to install digest
Merge pull request rsim#2235 from yahonda/add_ruby31_to_github_actions
Prepare release v7.0.1 [skip ci]
Merge pull request rsim#2249 from swamp09/fix_columns_for_distinct
Prepare release v7.0.2 [skip ci]
In hopes of allowing the configuration for emulate_booleans to get set
before it is evaluated.
@andynu andynu mentioned this pull request Jul 4, 2022
@yahonda
Copy link
Collaborator

yahonda commented Jul 5, 2022

Would you also change your branch based on the current master branch? It looks this pull request is trying to merge something from release7-0 branch with your commits to the master branch.

@andynu
Copy link
Contributor Author

andynu commented Jul 5, 2022

Cleaner version without the no-op release70 commits mixed in here: #2301

@andynu andynu closed this Jul 5, 2022
@andynu andynu deleted the lazy-load-type-mappings-master branch March 19, 2024 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants