(freelistType FreelistType)
| 1312 | } |
| 1313 | |
| 1314 | func newFreelist(freelistType FreelistType) fl.Interface { |
| 1315 | if freelistType == FreelistMapType { |
| 1316 | return fl.NewHashMapFreelist() |
| 1317 | } |
| 1318 | return fl.NewArrayFreelist() |
| 1319 | } |
| 1320 | |
| 1321 | // Options represents the options that can be set when opening a database. |
| 1322 | type Options struct { |