Commit Graph
4 Commits
Author SHA1 Message Date
Marc RousavyandGitHub d67af1264e fix: Fix potential deadlocks by releasing JSICacheReference earlier (#1191)
* fix: Fix potential deadlocks by releasing `JSICacheReference` earlier

* chore: Format
2026-01-29 16:24:48 +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
Marc RousavyandGitHub 27dd56795d chore: Type out Object, Promise, Date and Error under CommonGlobals.cpp (#1113)
* chore: Split `Object`, `Promise`, `Date` and `Error` under `CommonGlobals.hpp`

* feat: Use it everywhere

* fix: Implement them

* fix: `resolved` -> `resolve`
2025-12-18 17:14:35 +01:00