mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Remove float-cmp dependency and implement custom float comparison logic
- Eliminated the `float-cmp` crate from the project, replacing its functionality with custom float comparison functions that match Lua's epsilon-based equality checks. - Updated the `variant_eq` function to utilize the new fuzzy equality methods for `Float32` and `Float64` variants, ensuring consistent behavior across Rust and Lua implementations. - Enhanced the matching algorithms in both forward sync and syncback processes to account for refined scoring of `Ref`, `Tags`, and `Attributes`, improving scoring accuracy and parity between implementations. - Introduced a new plan document detailing the changes made to the matching algorithms, including the rationale for the updates and the expected impact on performance and correctness. These changes aim to improve the reliability and maintainability of the matching algorithms while ensuring parity with Lua's behavior.
This commit is contained in:
parent
a283fd1dc9
commit
7e0538b9f5
10 changed files with 1276 additions and 87 deletions
|
|
@ -106,7 +106,6 @@ pathdiff = "0.2.3"
|
|||
|
||||
blake3 = "1.8.3"
|
||||
sha1 = "0.10"
|
||||
float-cmp = "0.10.0"
|
||||
indexmap = { version = "2.13.0", features = ["serde"] }
|
||||
rmp-serde = "1.3.1"
|
||||
serde_bytes = "0.11.19"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue