Commit 91ea884
committed
Enhance NativeScript FFI with Generated Dispatch Control and Fast Conversion
- Introduced environment variable control for generated dispatch (GSD) functionality in SignatureDispatch.h, allowing users to enable or disable GSD at runtime.
- Implemented fast-path conversion for known metadata kinds in TypeConv.h and TypeConv.mm, optimizing argument conversion for NAPI.
- Updated benchmark tests to alternate between GSD and non-GSD runs, providing a more comprehensive performance analysis.
- Added a glass effect view to the view controller app, enhancing the UI experience.
- Improved error handling in the metadata generation script to provide clearer feedback on failures.1 parent 0cd51d8 commit 91ea884
File tree
9 files changed
+670
-106
lines changed- NativeScript/ffi
- cli_tests
- benchmark
- metadata-generator/src
- scripts
9 files changed
+670
-106
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | | - | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
104 | 133 | | |
105 | 134 | | |
106 | 135 | | |
| |||
112 | 141 | | |
113 | 142 | | |
114 | 143 | | |
115 | | - | |
| 144 | + | |
116 | 145 | | |
117 | 146 | | |
118 | 147 | | |
| |||
136 | 165 | | |
137 | 166 | | |
138 | 167 | | |
139 | | - | |
| 168 | + | |
| 169 | + | |
140 | 170 | | |
141 | 171 | | |
142 | 172 | | |
| |||
0 commit comments