-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-39488: [Ruby] Add support for ChunkedArray in Ractor #39490
Conversation
|
ff4ed07
to
cb90353
Compare
cb90353
to
8d83697
Compare
+1 |
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit de3130e. There was 1 benchmark result with an error:
There was 1 benchmark result indicating a performance regression:
The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…#39490) ### Rationale for this change We can't use `@ cache ||= build_cache` idiom in Ractor because Ractor requires that shared objects are immutable. ### What changes are included in this PR? Compute caches before making ChunkedArray immutable. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#39488 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…#39490) ### Rationale for this change We can't use `@ cache ||= build_cache` idiom in Ractor because Ractor requires that shared objects are immutable. ### What changes are included in this PR? Compute caches before making ChunkedArray immutable. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#39488 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…#39490) ### Rationale for this change We can't use `@ cache ||= build_cache` idiom in Ractor because Ractor requires that shared objects are immutable. ### What changes are included in this PR? Compute caches before making ChunkedArray immutable. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#39488 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
We can't use
@cache ||= build_cache
idiom in Ractor because Ractor requires that shared objects are immutable.What changes are included in this PR?
Compute caches before making ChunkedArray immutable.
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.