Skip to content

Commit

Permalink
Add TODO(#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
datawater committed Jun 15, 2024
1 parent 96daa8c commit 3f98c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgn/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub fn parse_pgn(input_filename: &str) -> Result<Vec<PgnGame>, Box<dyn Error + '
let line_char_index_start = line_char_index;

// TODO(#9): (MAYBE) Replace half-move count parsing with a smarter method
// TODO: (MAYBE) Abstract this away to see the performance overhead of this
// TODO(#10): (MAYBE) Abstract this away to see the performance overhead of this
// This is basically extra parsing because half-move count can be easily calculated by setting it at the start of a variation and then just incrementing it
if char.is_ascii_digit() {
let mut num_buffer = String::new();
Expand Down

0 comments on commit 3f98c77

Please sign in to comment.