Skip to content

Conversation

@ospfranco
Copy link
Contributor

@ospfranco ospfranco commented Nov 21, 2025

Improves the speed to execute (and executAsync) JS object creation by close to 50% by using clever caching of names and removing one loop in JS

The code that handles JS promises has also been abstracted away and it's now miles easier to work with than before. It's a worthy addition because it opens the doors for more async code in the future.

# Conflicts:
#	example/ios/OPSQLiteExample/AppDelegate.mm
#	example/ios/Podfile.lock
#	example/package.json
#	example/src/App.tsx
#	package.json
#	src/index.ts
#	yarn.lock

Working promisify

Working thread pool

Working off-thread work

Simplify data

Run on Android

Faster row creation

Single struct that captures all state to correctly invalidate a module

clean up

Global call invoker ref

Comments

Migrate other functions
@ospfranco ospfranco changed the title New architecture and JSI code Abstract promise code and make simple result creation faster Nov 21, 2025
@ospfranco ospfranco merged commit 7706606 into main Nov 24, 2025
20 of 24 checks passed
@ospfranco ospfranco deleted the oscar/new branch November 24, 2025 08:14
Comment on lines +113 to +115
"dependencies": {
"react-native-safe-area-context": "^5.6.2"
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ospfranco Is this a mistake? I guess this should be only in the example no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, probably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants