Skip to content

Commit

Permalink
Fixing Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mpope9 committed Apr 30, 2020
1 parent f377967 commit 93e8025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

A Gleam configuration library.

Relys on erlang's [persistent_terms](https://erlang.org/doc/man/persistent_term.html), so updating config values during runtime carries a heavy penalty (forces a GC on each process).
Relys on erlang's [persistent_terms](https://erlang.org/doc/man/persistent_term.html).

## Installation

Expand Down Expand Up @@ -46,7 +46,7 @@ config.get_default("not.existing", False)
```

## Updating Values
Updates to the config can have a performance penalty, due to persistent_terms being optimized for reads over writes. So it is preffered to update configs in batches. This is done through passing a map to the config module. Values in the map will override existing configuration values.
Updates to the config can have a performance penalty, due to `persistent_term`s being optimized for reads over writes. So it is preffered to update configs in batches. This is done through passing a map to the config module. Values in the map will override existing configuration values.

```gleam
import gleam/map
Expand Down

0 comments on commit 93e8025

Please sign in to comment.