Skip to content

Implement Value Caching and Diffing for Optimized Change Detection#7

Merged
bramus merged 9 commits intobramus:mainfrom
faizanu94:feat/optimized-change-detection
Sep 14, 2024
Merged

Implement Value Caching and Diffing for Optimized Change Detection#7
bramus merged 9 commits intobramus:mainfrom
faizanu94:feat/optimized-change-detection

Conversation

@faizanu94
Copy link
Contributor

This pull request introduces value caching and diffing mechanisms to optimize change detection. By caching previous values and diffing them against current values, we ensure that only the property that has changed is passed to the callback function as discussed in #1

Changes

  • Added a value caching system to store previous state values
  • Implemented a diffing algorithm to efficiently compare current values against cached values
  • Modified callback functions to receive only the properties that have changed, based on the diffing results

Loading
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