Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ class MemoryCache {
/// Maps frequency count to set of keys with that frequency.
final Map<int, Set<String>> _frequencyMap = {};

/// Minimum frequency for LFU.
int _minFrequency = 0;

/// Gets a value from cache.
T? get<T>(String key) {
final entry = _cache[key];
Expand Down Expand Up @@ -97,7 +94,6 @@ class MemoryCache {
// Update LFU frequency map (new entries start at frequency 0)
if (evictionPolicy == EvictionPolicy.lfu) {
_frequencyMap.putIfAbsent(0, () => {}).add(key);
_minFrequency = 0;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ class QueryOptimizer {
if (schema == null) return [];

final missingIndexes = <String>[];
final normalizedSql = sql.toUpperCase();

// Check WHERE clause
final whereMatch =
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ melos:

test:
description: Run tests in all packages
run: melos exec --fail-fast -- flutter test
run: melos exec --fail-fast --ignore="*_web" -- flutter test

test:coverage:
description: Run tests with coverage in all packages
run: melos exec --fail-fast -- flutter test --coverage
run: melos exec --fail-fast --ignore="*_web" -- flutter test --coverage

clean:
description: Clean all packages
Expand Down
Loading