Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pointer Optimization #247

Merged
merged 3 commits into from
Sep 17, 2022
Merged

Pointer Optimization #247

merged 3 commits into from
Sep 17, 2022

Conversation

sinclairzx81
Copy link
Owner

This PR optimizes ValuePointer for faster mutable updates on JavaScript values. Most of this optimization is based on accelerating the parsing of the pointer string into component parts (which are used to navigate the object). This PR also removes the array shifts and opts to use iterators for navigating objects for mutable methods. This PR now exposes the Format function.

Additional Update: TString now accepts an optional generic argument for format. This resolves #246

@sinclairzx81 sinclairzx81 merged commit 73e5a3f into master Sep 17, 2022
@sinclairzx81 sinclairzx81 deleted the string-format branch December 18, 2022 22:18
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.

feat: allow TString to accept generic parameter for "format"
1 participant