Commit 1e44839
committed
Use Thread.pass within TracePoint hook to improve REPL responce
Loading RBS could be heavy. It will frequently block main thread of IRB especially when IRB is loading RDoc.
Use TracePoint :call hook to pass thread execution while loading RBS will reduce main thread blocking.1 parent cbb2cfb commit 1e44839
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | | - | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
0 commit comments