Skip to content

Commit 5dbde06

Browse files
Update README.md
1 parent 21f8f1b commit 5dbde06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Gets the boolean value at the specified index.
8585

8686
# Performance Breakdown
8787

88-
Our benchmark compares the performance of our Fast Boolean Array library against Vanilla JavaScript arrays in terms of get and set operations across varying numbers of Booleans. The results below reflect an updated benchmark algorithm that performs 1,000 runs for each x amount of Booleans to better simulate real-world scenarios.
88+
Our benchmark compares the performance of our Fast Boolean Array library against Vanilla JavaScript arrays in terms of get and set operations across varying numbers of Booleans. The results below reflect an updated benchmark algorithm that performs 1,000 runs for each x amount of Booleans to better simulate real-world scenarios. Generally you will notice the trend that as the size of the array grows, so does the justification of using our library instead of a regular vanilla JavaScript array.
8989

9090
## Performance Breakdown
9191

@@ -111,7 +111,7 @@ As useless as having just 1 boolean stored in an array might be, For **1 boolean
111111
| Get Vanilla Array | 0.00149000 | N/A | 100 |
112112
| Get Fast Boolean Array | 0.00581000 | N/A | 100 |
113113

114-
**Observation:** For **100 booleans**, **Fast Boolean Array** is **2.5x slower** in **Set** operations but **3.9x more memory efficient**. However, **Fast Boolean Array**'s' **Get** operation is **3.9x slower** . compared to the **Vanilla Array**.
114+
For **100 booleans**, **Fast Boolean Array** is **2.5x slower** in **Set** operations but **3.9x more memory efficient**. However, **Fast Boolean Array**'s' **Get** operation is **3.9x slower** . compared to the **Vanilla Array**.
115115

116116
---
117117

0 commit comments

Comments
 (0)