Repository navigation
Commit a85fa88
committed
perf: pass a binding argument's own object id to a callback
packageArgs probed ObjectTable's identity index for every object argument.
A binding of the receiving runtime (a NativeScriptRuntimeBound whose tag
matches) carries its object id, written before the tag and never reused,
so it is passed as the hint instead; native resolves it like any other
hint and falls back to the exact lookup when it no longer names a linked
wrapper. The new benchmark row passes the callback object itself.1 parent a5c973b commit a85fa88
3 files changed
Lines changed: 19 additions & 1 deletion
File tree
- test-app
- app/src/main
- assets/app/tests/benchmarks
- java/com/tns/tests
- runtime/src/main/java/com/tns
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
459 | 462 | | |
460 | 463 | | |
461 | 464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
250 | 254 | | |
251 | 255 | | |
252 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
1367 | | - | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1368 | 1379 | | |
1369 | 1380 | | |
1370 | 1381 | | |
| |||
0 commit comments