Kampfkarren / Kampfkarren/Roblox
Check if data is identical before telling :Save() its changed
Open
enhancement
- Dominant language
- Lua
- Stars
- 391
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
The following flow:
```
- Get() the data store, the value is { foo = "bar" }
- Set({ foo = "bar" })
- Save()
```
...results in a superfluous save.
Instead, Save() should check the previous data to see if it is identical.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the data-store implementation and its Get(), Set(), and Save() entry points, then reproduce the flow described in the issue. Done means Save() recognizes identical data and avoids a superfluous save while still saving changed data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100