GitBulletin

Repository: farcasterxyz/hub-monorepo

**Transformative Leap: Cast Store Revolutionizes Performance with Rust Migration!**

2024-03-14 16:54:04 UTC

**In a bold move for enhanced efficiency, the Cast Store has been fully migrated to Rust, promising a swift and robust user experience like never before!**

Commit Details:

perf: Migrate cast store to rust (#1813) ## Motivation Migrate the cast store to rust ## Change Summary Describe the changes being made in 1-2 concise sentences. ## 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) ## Additional Context If this is a relatively large or complex change, provide more details here that will help reviewers <!-- start pr-codex --> --- ## PR-Codex overview This PR migrates the Cast Store to Rust for performance improvement. ### Detailed summary - Migrated Cast Store to Rust for performance (`apps/hubble/src/addon/src/store/mod.rs`, `apps/hubble/src/addon/src/store/message.rs`) - Added Rust linter script (`apps/hubble/package.json`) - Updated conflict functions with RocksDB (`apps/hubble/src/addon/src/store/user_data_store.rs`, `apps/hubble/src/addon/src/store/link_store.rs`) - Added Rust functions for Cast Store (`apps/hubble/src/addon/src/lib.rs`, `apps/hubble/src/rustfunctions.ts`) - Optimized iteration methods in Rust (`apps/hubble/src/addon/src/db/rocksdb.rs`, `apps/hubble/src/addon/src/store/reaction_store.rs`, `apps/hubble/src/addon/src/store/store.rs`) - Minor code cleanup and refactoring. > The following files were skipped due to too many changes: `apps/hubble/src/storage/stores/castStore.ts`, `apps/hubble/src/addon/src/store/cast_store.rs` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->

Search Similar