Skip to content

Commit

Permalink
Reword sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Simonov committed Dec 1, 2023
1 parent e88dd4c commit a27d866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A very simple in-memory cache for time.Locations, written in pure Go.

It is [known](https://pkg.go.dev/time#LoadLocation) that `time.LoadLocation` is reading the locations information from disk. Furthermore, previously retrieved locations are not being cached: the same location is looked up as many times as `time.LoadLocation` is called. If your application needs to open a bunch of locations very limited number of times, this behaviour would be desirable. On the other hand, when it is constantly looking up the same locations, this may seem wasteful. `locache` allows to perform disk lookups only once per location, and then reuse the results.

The extent of this mitigation grows linearly with the number of repeated lookups:
The mitigation becomes more noticeable as the number of repeated lookups grows:

```
goos: darwin
Expand Down

0 comments on commit a27d866

Please sign in to comment.