GitBulletin

Repository: farcasterxyz/hub-monorepo

Revolutionary Shift: UserData Store Transformed into Lightning-Fast Rust Framework!

2024-03-05 21:06:51 UTC

Groundbreaking Migration Promises Enhanced Performance and Streamlined Code for Future Development.

Commit Details:

perf: Move userdata store to rust (#1775) ## Motivation Move the UserData store to rust ## Change Summary - userdata store to rust - Refactor typescript code to make migrating stores easy ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [X] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [X] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [X] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. - [X] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on optimizing performance by moving the `UserData` store to Rust. ### Detailed summary - Moved `UserData` store to Rust for performance improvement. - Added methods to interact with `UserDataStore`. - Updated key generation and retrieval functions for `UserNameProof` in the store. - Implemented common methods for all Rust stores in a base class. > The following files were skipped due to too many changes: `apps/hubble/src/storage/stores/rustStoreBase.ts`, `apps/hubble/src/storage/stores/reactionStore.ts`, `apps/hubble/src/storage/stores/userDataStore.ts`, `apps/hubble/src/addon/src/store/user_data_store.rs` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar