MM AvariceLHubris

AvariceLHubris fixo push a master en AvariceLHubris/huffman

  • a9154346e7 Changed CLI flags
  • 80d275f6c3 Improve robustness and efficiency across encode/decode pipeline - encode_text: pre-allocate with with_capacity, iterate bits directly to avoid per-character clone, return Result instead of panicking on unknown characters - decode_text: annotate error lifetime as 'static (errors are literals) - get_character_codes_for_storage: return &[(char, u32)] instead of cloning the Vec - read_tree_and_text: return Result<String, anyhow::Error>, replacing all panicking unwraps/expects with propagated errors - store_tree_and_text: return Result<(), anyhow::Error>, propagate encode_text errors - Replace hand-rolled four_b_to_u32 with u32::from_be_bytes - Remove commented-out debug println!s and dead code
  • 94677e72ef Changed CLI flags
  • dc2beeaebe Improve robustness and efficiency across encode/decode pipeline - encode_text: pre-allocate with with_capacity, iterate bits directly to avoid per-character clone, return Result instead of panicking on unknown characters - decode_text: annotate error lifetime as 'static (errors are literals) - get_character_codes_for_storage: return &[(char, u32)] instead of cloning the Vec - read_tree_and_text: return Result<String, anyhow::Error>, replacing all panicking unwraps/expects with propagated errors - store_tree_and_text: return Result<(), anyhow::Error>, propagate encode_text errors - Replace hand-rolled four_b_to_u32 with u32::from_be_bytes - Remove commented-out debug println!s and dead code Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • Ver comparación destas 4 achegas »

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

  • 94677e72ef Changed CLI flags
  • dc2beeaebe Improve robustness and efficiency across encode/decode pipeline - encode_text: pre-allocate with with_capacity, iterate bits directly to avoid per-character clone, return Result instead of panicking on unknown characters - decode_text: annotate error lifetime as 'static (errors are literals) - get_character_codes_for_storage: return &[(char, u32)] instead of cloning the Vec - read_tree_and_text: return Result<String, anyhow::Error>, replacing all panicking unwraps/expects with propagated errors - store_tree_and_text: return Result<(), anyhow::Error>, propagate encode_text errors - Replace hand-rolled four_b_to_u32 with u32::from_be_bytes - Remove commented-out debug println!s and dead code Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • 152991dc65 Added basic standard input handling
  • e3fa04703e Fixed unwrap call
  • 71d6d64478 Fixed single character bug
  • Ver comparación destas 10 achegas »

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

  • 75bcc83090 Improve robustness and efficiency across encode/decode pipeline - encode_text: pre-allocate with with_capacity, iterate bits directly to avoid per-character clone, return Result instead of panicking on unknown characters - decode_text: annotate error lifetime as 'static (errors are literals) - get_character_codes_for_storage: return &[(char, u32)] instead of cloning the Vec - read_tree_and_text: return Result<String, anyhow::Error>, replacing all panicking unwraps/expects with propagated errors - store_tree_and_text: return Result<(), anyhow::Error>, propagate encode_text errors - Replace hand-rolled four_b_to_u32 with u32::from_be_bytes - Remove commented-out debug println!s and dead code
  • e99b73542f Improve robustness and efficiency across encode/decode pipeline - encode_text: pre-allocate with with_capacity, iterate bits directly to avoid per-character clone, return Result instead of panicking on unknown characters - decode_text: annotate error lifetime as 'static (errors are literals) - get_character_codes_for_storage: return &[(char, u32)] instead of cloning the Vec - read_tree_and_text: return Result<String, anyhow::Error>, replacing all panicking unwraps/expects with propagated errors - store_tree_and_text: return Result<(), anyhow::Error>, propagate encode_text errors - Replace hand-rolled four_b_to_u32 with u32::from_be_bytes - Remove commented-out debug println!s and dead code Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  • Ver comparación destas 2 achegas »

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

  • 75bcc83090 Improve robustness and efficiency across encode/decode pipeline - encode_text: pre-allocate with with_capacity, iterate bits directly to avoid per-character clone, return Result instead of panicking on unknown characters - decode_text: annotate error lifetime as 'static (errors are literals) - get_character_codes_for_storage: return &[(char, u32)] instead of cloning the Vec - read_tree_and_text: return Result<String, anyhow::Error>, replacing all panicking unwraps/expects with propagated errors - store_tree_and_text: return Result<(), anyhow::Error>, propagate encode_text errors - Replace hand-rolled four_b_to_u32 with u32::from_be_bytes - Remove commented-out debug println!s and dead code

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 3 semanas

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 1 mes

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 1 mes

AvariceLHubris fixo push a master en AvariceLHubris/huffman

  • 6767e83084 Don't remember what this was supposed to be

hai 5 meses

AvariceLHubris fixo push a master en AvariceLHubris/Keys

hai 1 ano

AvariceLHubris fixo push a master en AvariceLHubris/Keys

hai 1 ano

AvariceLHubris created new branch master at AvariceLHubris/Keys

hai 1 ano

AvariceLHubris creou o repositorio AvariceLHubris/Keys

hai 1 ano

AvariceLHubris fixo push a master en AvariceLHubris/huffman

  • 86862cf49c Replaced vector with minheap Should be more efficient.

hai 1 ano

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 1 ano

AvariceLHubris fixo push a master en AvariceLHubris/huffman

hai 1 ano