b7e3a0da86
Release Tag / release (push) Successful in 34s
- Added metrics for bytes saved from cache to improve performance insights. - Updated cache eviction strategies in MemoryFS and DiskFS to include metrics tracking for hits and evictions. - Enhanced README.md with updated garbage collection algorithm descriptions and recommendations for cache usage. - Introduced new madviseSequential functionality for improved memory access hints on Unix systems. - Adjusted validation configuration in examples to better reflect realistic usage scenarios.
12 lines
350 B
Go
12 lines
350 B
Go
//go:build windows
|
|
|
|
package disk
|
|
|
|
// madviseSequential is a no-op on Windows.
|
|
// Windows file mappings don't have a direct equivalent to MADV_SEQUENTIAL
|
|
// in the same way. Sequential access hints are better done via
|
|
// FILE_FLAG_SEQUENTIAL_SCAN at file open time (future improvement possible).
|
|
func madviseSequential(b []byte) error {
|
|
return nil
|
|
}
|