Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
li3zhen1 authored Dec 2, 2023
1 parent a7db027 commit 8588448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ For 3D simulation, it takes **~0.008** seconds for the same graph and same confi
<br/>

#### KDTree
The `KDTree` from this package is ~7x faster than `GKQuadtree` from Apple’s GameKit, according to this [testcase](https://github.com/li3zhen1/Grape/blob/main/Tests/ForceSimulationTests/GKTreeCompareTest.swift). However, please note that comparing Swift structs with NSObjects is unfair, and their behaviors are different.
The `KDTree` from this package is **~22x** faster than `GKQuadtree` from Apple’s GameKit, according to this [testcase](https://github.com/li3zhen1/Grape/blob/main/Tests/ForceSimulationTests/GKTreeCompareTest.swift). However, please note that comparing Swift structs with NSObjects is unfair, and their behaviors are different.


<br/>
Expand Down

0 comments on commit 8588448

Please sign in to comment.