Commit Graph
3 Commits
Author SHA1 Message Date
Marc RousavyandGitHub 7a801842be perf: Use ASCII instead of UTF8 for PropNames (#1133) 2026-01-07 15:21:39 +01:00
Marc RousavyandGitHub 1e22bbeb1e perf: Cache HybridFunction's PropNameID (#1127)
* perf: Cache `HybridFunction`'s `PropNameID`

* fix: Use utf8 prop name
2025-12-23 16:26:18 +01:00
Marc RousavyandGitHub c94263763d perf: Cache jsi::PropNameIDs (makes Nitro 30% faster) (#1114)
* feat: Create `PropNameID` Cache

* Impl PropNameID

* fix: Use `const jsi::PropNameID&` instead of `BorrowingReference`

* perf: Use `PropNameIDCache` everywhere internally

* fix: Make use of `PropNameIDCache` in custom user defined structs

* fix: Use `PropNameIDCache` for Hybrid Views too

* fix: `jsi::Runtime` deref

* fix: Allow `JSICache` to use itself by caching itself first

* fix: Remove `allowCache` flag

* perf: Avoid `BorrowingReference<T>` copy and use `const T&`

* perf: Use `PropNameIDCache` inside `defineProperty(...)`

* docs: Add docs
2025-12-18 21:36:27 +01:00