Skip to content

Commit

Permalink
test: reorgnization. docs: improved a lit bit
Browse files Browse the repository at this point in the history
  • Loading branch information
zrwusa committed Dec 30, 2023
1 parent 6b3d8b9 commit ec649bd
Show file tree
Hide file tree
Showing 3 changed files with 368 additions and 368 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
- [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
- [`auto-changelog`](https://github.com/CookPete/auto-changelog)

## [v1.50.0](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...main) (upcoming)
## [v1.50.1](https://github.com/zrwusa/data-structure-typed/compare/v1.35.0...main) (upcoming)

### Changes

Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,58 +38,58 @@ Heap, Binary Tree, Red Black Tree, Linked List, Deque, Trie, Directed Graph, Und
<thead>
<tr>
<th>Method</th>
<th>Time Taken (ms)</th>
<th>Scale</th>
<th>Time Taken</th>
<th>Data Scale</th>
<th>Belongs To</th>
<th>Time Complexity</th>
<th>Complexity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Queue.push &amp; shift</td>
<td>5.83</td>
<td>5.83 ms</td>
<td>100,000</td>
<td>data-structure-typed</td>
<td>Ours</td>
<td>O(1)</td>
</tr>
<tr>
<td>Array.push &amp; shift</td>
<td>2829.59</td>
<td>2829.59 ms</td>
<td>100,000</td>
<td>Native JS</td>
<td>O(n)</td>
</tr>
<tr>
<td>Deque.unshift &amp; shift</td>
<td>2.44</td>
<td>2.44 ms</td>
<td>100,000</td>
<td>data-structure-typed</td>
<td>Ours</td>
<td>O(1)</td>
</tr>
<tr>
<td>Array.unshift &amp; shift</td>
<td>4750.37</td>
<td>4750.37 ms</td>
<td>100,000</td>
<td>Native JS</td>
<td>O(n)</td>
</tr>
<tr>
<td>HashMap.set</td>
<td>122.51</td>
<td>122.51 ms</td>
<td>1,000,000</td>
<td>data-structure-typed</td>
<td>Ours</td>
<td>O(1)</td>
</tr>
<tr>
<td>Map.set</td>
<td>223.80</td>
<td>223.80 ms</td>
<td>1,000,000</td>
<td>Native JS</td>
<td>O(1)</td>
</tr>
<tr>
<td>Set.add</td>
<td>185.06</td>
<td>185.06 ms</td>
<td>1,000,000</td>
<td>Native JS</td>
<td>O(1)</td>
Expand Down
Loading

0 comments on commit ec649bd

Please sign in to comment.