abhsha (Abhishek Sharma)
- Login: abhsha
- Email: abhsha20@gmail.com
- Registered on: 06/09/2020
- Last sign in: 11/21/2020
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/14/2020
-
05:45 AM Ruby Bug #16941: MJIT doesn't identify Struct kind of instruction
- Hi k0kubun,
I think it should be Ok for me with --jit-min-calls=10000. Also, I will take the struct declaration outside of the block, so it shouldn't be a problem anymore for my case.
Thanks for all the help. With this ticket I devel...
06/12/2020
-
11:44 AM Ruby Bug #16941: MJIT doesn't identify Struct kind of instruction
- Hello K0kubun,
Here is the revised script
```
def my_method
a_struct = Struct.new(:a).new
a_struct.a = "a"
puts "Inside this Method"
end
3.times{ puts "=="; my_method; puts "==" }
```
Output with --jit-min-cal...
06/11/2020
-
10:30 AM Ruby Bug #16941: MJIT doesn't identify Struct kind of instruction
- Thanks, k0kubun for the feedback. I didn't understand the need to compile the block every time it is being called. Can you refer me to some documentation for understanding execution with JIT?
Regarding the Struct, I think yes we can r...
06/09/2020
-
10:37 AM Ruby Bug #16941 (Closed): MJIT doesn't identify Struct kind of instruction
- MJIT does not identify Struct instructions and gives a warning while compiling to C.
Example:
def my_method
1.times do
a_struct = Struct.new(:a).new
a_struct.a = "a"
end
end
my_method
$: ruby --jit...