Skip to content

Commit

Permalink
style: Fixing some typos (#2279)
Browse files Browse the repository at this point in the history
Some minor typos I encountered while browsing the repo 😄 

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
  • Loading branch information
RezaRahemtola authored Jun 6, 2024
1 parent c67eff6 commit 7bced19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Things to take into account:
- All benchmarks on a package will be shown on the same graph.
- The value on `package` and `benchmarks` are regular expressions.
- You have to explicitly add your new package here to make it appears on generated graphs.
- If you have benchmarks on the same package that takes much more time pero op than the rest, you should divide it into a separate graph for visibility. In this example we can see how we separated tests from the gnolang package into the ones finishing with `Equality` and `LoopyMain`, because `LoopyMain` is taking an order of magnitude more time per operation than the other tests:
- If you have benchmarks on the same package that takes much more time per op than the rest, you should divide it into a separate graph for visibility. In this example we can see how we separated tests from the gnolang package into the ones finishing with `Equality` and `LoopyMain`, because `LoopyMain` is taking an order of magnitude more time per operation than the other tests:
```yaml
- name: Equality benchmarks (gnovm)
benchmarks: [ '.Equality' ]
Expand All @@ -31,4 +31,4 @@ Things to take into account:
## Add new checks for PRs
If we want to add a new package to check all the fast benchmarks on it on every PR, we should have a look into [gobenchdata-checks.yml](./gobenchdata-checks.yml).
If we want to add a new package to check all the fast benchmarks on it on every PR, we should have a look into [gobenchdata-checks.yml](./gobenchdata-checks.yml).
2 changes: 1 addition & 1 deletion docs/concepts/effective-gno.md
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ See also: https://github.com/gnolang/gno/tree/master/examples/gno.land/r/demo/wu

<!-- TODO:
- packages and realms versionning
- packages and realms versioning
- code generation
- unit tests, fuzzing tests, example tests, txtar
- shipping non-contract stuff with the realm: client, documentation, assets
Expand Down
2 changes: 1 addition & 1 deletion examples/gno.land/p/demo/cford32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lexical ordering. However, values [0,2^34) have a "double encoding", which if
mixed together lose the lexical ordering property.
The Uint64 encoding is most useful for generating string versions of Uint64 IDs.
Practically, it allows you to retain sleek and compact IDs for your applcation
Practically, it allows you to retain sleek and compact IDs for your application
for the first 2^34 (>17 billion) entities, while seamlessly rolling over to the
full encoding should you exceed that. You are encouraged to use it unless you
have a requirement or preferences for IDs consistently being always the same
Expand Down
2 changes: 1 addition & 1 deletion examples/gno.land/p/demo/cford32/cford32.gno
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
//
// The Uint64 encoding is most useful for generating string versions of Uint64
// IDs. Practically, it allows you to retain sleek and compact IDs for your
// applcation for the first 2^34 (>17 billion) entities, while seamlessly
// application for the first 2^34 (>17 billion) entities, while seamlessly
// rolling over to the full encoding should you exceed that. You are encouraged
// to use it unless you have a requirement or preferences for IDs consistently
// being always the same size.
Expand Down

0 comments on commit 7bced19

Please sign in to comment.