Skip to content

nour v1.0.2 — Padding fix, perf, bsv58 cleanup

Choose a tag to compare

@murphsicles murphsicles released this 20 May 22:29
· 15 commits to main since this release

v1.0.2

🐛 Bug Fix

  • Little-endian padding bug in encode_num() and encode_bigint() — padding byte was inserted at the wrong position (beginning of LE array instead of end). Fixed in b9c3895.

⚡ Performance

  • Rc-based interpreter stack — OP_DUP/OVER/PICK/TUCK now clone via atomic refcount increment instead of deep-copying up to 520B per operation. ~40 clone sites optimized.
  • Bloom filter: reuse Cursor — reduces allocs from O(num_hash_funcs) to O(1).
  • linked-hash-map → indexmap — actively maintained, faster hash map with predictable iteration order.

🔧 Maintenance

  • Removed unused base58 dependency (fully migrated to bsv58)
  • Full rustfmt + clippy pass — zero new warnings