Improved documentation

This commit is contained in:
Eduard Urbach 2023-07-12 17:41:02 +02:00
parent d233cad2ba
commit f37a2bd74b
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -74,4 +74,5 @@ Make sure you `defer collection.Sync()` to ensure that queued writes will be han
### storage.Directory
`storage.Directory` creates a directory for your records and saves each record in a separate file. The performance of this method heavily depends on the file system you are using.
`storage.Directory` creates a directory for your records and saves each record in a separate file.
The performance of this method heavily depends on the file system you are using but in general `storage.File` should be preferred as it provides much better performance.