Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 5, 2025

Addresses code review comments from PR #5 requesting style consistency and cleanup.

Changes Made

  • shared.rs:96: Added missing space before opening brace in ResolvedEvent struct declaration
  • sparse.rs:1: Removed unused self qualifier from dictionary module import
  • dictionary.rs:64: Changed comment from "IRI Entry" to "URI Entry" for terminology consistency
  • Applied rustfmt to ensure consistent formatting across modified files (import ordering, spacing, trailing commas)

All changes are purely stylistic with no functional impact.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: argahsuknesib <87450516+argahsuknesib@users.noreply.github.com>
Copilot AI changed the title [WIP] Add dictionary encoding implementation for RDF term storage Apply code review feedback: fix formatting and remove unused imports Nov 5, 2025
Copilot AI requested a review from argahsuknesib November 5, 2025 19:50
Copy link
Collaborator

@argahsuknesib argahsuknesib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, looks good to me.

object: dict.fetch_uri(self.object).unwrap_or("UNKNOWN").to_string(),
graph: dict.fetch_uri(self.graph).unwrap_or("UNKNOWN").to_string()
}
graph: dict.fetch_uri(self.graph).unwrap_or("UNKNOWN").to_string(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you always need an extra , even if there is nothing else after it? Why?

index_path: &str,
) -> std::io::Result<()> {
#[doc = ""]
pub fn build_dense_index(log_path: &str, index_path: &str) -> std::io::Result<()> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you prefer writing in single line than 2 different? Two different ones have better readability

@argahsuknesib argahsuknesib marked this pull request as ready for review November 5, 2025 20:10
@argahsuknesib argahsuknesib merged commit 096a61c into dictionary-encoding Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants