Skip to content

Commit

Permalink
removed the comments and sorted out the imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmurariu committed Jul 2, 2024
1 parent 2f7cb9b commit 72dcf5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
15 changes: 0 additions & 15 deletions raphtory/src/core/storage/raw_edges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,6 @@ impl EdgesStorage {
edge
}

// #[inline]
// pub(crate) fn entry(&self, id: EID) -> EdgeRGuard {
// self.get_edge(id)
// }

// #[inline]
// pub(crate) fn entry_mut(&self, id: EID) -> EdgeWGuard {
// self.get_edge_mut(id)
// }

// #[inline]
// pub(crate) fn entry_arc(&self, id: EID) -> EdgeArcGuard {
// self.get_edge_arc(id)
// }

pub fn read_lock(&self) -> LockedEdges {
LockedEdges {
shards: self.shards.iter().map(|shard| shard.read_arc()).collect(),
Expand Down
7 changes: 3 additions & 4 deletions raphtory/src/db/api/storage/edges/edges.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ use super::{edge_entry::EdgeStorageEntry, unlocked::UnlockedEdges};
use crate::disk_graph::storage_interface::{edges::DiskEdges, edges_ref::DiskEdgesRef};
use crate::{
core::{entities::LayerIds, storage::raw_edges::LockedEdges},
db::api::storage::edges::edge_storage_ops::EdgeStorageOps,
db::api::storage::{
edges::edge_storage_ops::EdgeStorageOps, variants::storage_variants3::StorageVariants,
},
};

use crate::db::api::storage::variants::storage_variants3::StorageVariants;

use rayon::iter::ParallelIterator;
use std::sync::Arc;

Expand Down

0 comments on commit 72dcf5a

Please sign in to comment.