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

feat: add the assign method to RawCoMap to create bulk transactions and optimize RawCoMap init #1077

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gdorsi
Copy link
Contributor

@gdorsi gdorsi commented Dec 20, 2024

Adding more operations in a single transaction helps us on optimize the encrypt/decrypt/sign/veirfy operations by having a single payload to handle instead of many.

In this PR we are adding a new method to RawCoMap to perform set operations in bulk and used assign to optimize the RawCoMap init

The performance gain depends on the size of the payload, but we can see some improvements even with small datasets

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
books-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
clerk-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
form-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
gcmp-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
image-upload-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-chat-1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-chat-2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-inspector ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-pets ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
jazz-todo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
music-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
passkey-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
passwords-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am
reactions-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 23, 2024 10:15am

@gdorsi gdorsi force-pushed the perf-bulk-operations branch from fc52479 to 61517b4 Compare December 20, 2024 23:55
@gdorsi gdorsi force-pushed the perf-bulk-operations branch from 61517b4 to 4a4d7f2 Compare December 20, 2024 23:58
@gdorsi gdorsi marked this pull request as draft December 20, 2024 23:59
@gdorsi gdorsi force-pushed the perf-bulk-operations branch from 4a4d7f2 to 1ef3226 Compare December 23, 2024 10:09
@gdorsi gdorsi changed the title perf: Optimize RawCoMap and RawCoList init and add methods to create bulk transactions feat: add the assign method to RawCoMap to create bulk transactions and optimize RawCoMap init Dec 23, 2024
@gdorsi gdorsi marked this pull request as ready for review December 23, 2024 10:11
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.

1 participant