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

use Struct instead of OpenStruct #2095

Closed
wants to merge 1 commit into from
Closed

Conversation

joelhawksley
Copy link
Member

I'm guessing that we're seeing failures referencing OpenStruct here now that Template is in its own class instead of in Compiler, which includes concurrent-ruby.

As it turns out, we don't even need OpenStruct! We know what attributes we need at the point of instantiation, so we can just use Struct, which uses less memory anyways <3

I'm guessing that we're seeing failures referencing OpenStruct
here now that Template is in its own class instead of in Compiler,
which includes concurrent-ruby.

As it turns out, we don't even need OpenStruct! We know what
attributes we need at the point of instantiation, so we can just
use Struct, which uses less memory anyways <3
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.

1 participant