feat: 添加基准测试基础设施
This commit is contained in:
@@ -39,6 +39,14 @@ impl CodeForge {
|
||||
|
||||
Ok(self.insert(hash, compile()?))
|
||||
}
|
||||
|
||||
pub fn len(&self) -> usize {
|
||||
self.map.len()
|
||||
}
|
||||
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.map.is_empty()
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for CodeForge {
|
||||
|
||||
Reference in New Issue
Block a user