-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace q460_lfu_cache's benches with cache_util's ones
- Loading branch information
1 parent
ef2296a
commit deaea06
Showing
21 changed files
with
62 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
implementations/q146_lru_cache/benches/bench_intrusive_two_hashmaps.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
use cache_util::*; | ||
|
||
use q146_lru_cache::intrusive_two_hashmaps::LRUCache as CACHE; | ||
|
||
define_benchmark!(q146_lru_cache, intrusive_two_hashmaps); | ||
define_benchmark!(q146_lru_cache, intrusive_two_hashmaps, LRUCache); |
4 changes: 1 addition & 3 deletions
4
implementations/q146_lru_cache/benches/bench_priority_queue.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
use cache_util::*; | ||
|
||
use q146_lru_cache::priority_queue::LRUCache as CACHE; | ||
|
||
define_benchmark!(q146_lru_cache, priority_queue); | ||
define_benchmark!(q146_lru_cache, priority_queue, LRUCache); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
use cache_util::*; | ||
|
||
use q146_lru_cache::two_hashmaps::LRUCache as CACHE; | ||
|
||
define_benchmark!(q146_lru_cache, two_hashmaps); | ||
define_benchmark!(q146_lru_cache, two_hashmaps, LRUCache); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
use cache_util::*; | ||
|
||
use q146_lru_cache::vec_hashmap::LRUCache as CACHE; | ||
|
||
define_benchmark!(q146_lru_cache, vec_hashmap); | ||
define_benchmark!(q146_lru_cache, vec_hashmap, LRUCache); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
implementations/q460_lfu_cache/benches/bench_intrusive_two_hashmaps.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
use cache_util::*; | ||
|
||
define_benchmark!(q460_lfu_cache, intrusive_two_hashmaps, LFUCache); |
3 changes: 3 additions & 0 deletions
3
implementations/q460_lfu_cache/benches/bench_priority_queue.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
use cache_util::*; | ||
|
||
define_benchmark!(q460_lfu_cache, priority_queue, LFUCache); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
use cache_util::*; | ||
|
||
define_benchmark!(q460_lfu_cache, two_hashmaps, LFUCache); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
use cache_util::*; | ||
|
||
define_benchmark!(q460_lfu_cache, vec_hashmap, LFUCache); |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
pub mod heap_node; | ||
pub mod impl_v1; | ||
pub mod impl_v2; | ||
pub mod impl_v3; | ||
pub mod impl_v4; | ||
mod freq_aware_heap_node; | ||
pub mod intrusive_two_hashmaps; | ||
pub mod priority_queue; | ||
pub mod two_hashmaps; | ||
pub mod vec_hashmap; | ||
|
||
pub use freq_aware_heap_node::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ementations/q460_lfu_cache/src/impl_v2.rs → ...tations/q460_lfu_cache/src/vec_hashmap.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters