Skip to content

Commit

Permalink
Simplify README
Browse files Browse the repository at this point in the history
  • Loading branch information
alnoki committed Oct 27, 2024
1 parent 4fb7231 commit 545f9f7
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/move/research/red-black-map/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,12 @@

# Red-black map

## Layout

The `variants` directory contains several implementations based on
[Wikipedia's Red–black tree implementation guide][wikipedia guide]
[Wikipedia's Red–black tree implementation guide][wikipedia guide]:

| Variant | Description |
| ------- | ------------------------------------------------------------ |
| `a` | Initial unfinished attempt, with ad hoc implementation stubs |
| `b` | Designed to closely mimic the [Wikipedia guide] |

## Move code interactions

From within any variant directory, for example `variants/a`:

1. Ensure `movefmt` is installed:

```sh
aptos update movefmt
```

1. Test and format:

```sh
aptos move test --dev --move-2
aptos move fmt
```

[wikipedia guide]: https://en.wikipedia.org/wiki/Red%E2%80%93black_tree

0 comments on commit 545f9f7

Please sign in to comment.