Skip to content

v0.1.1

Choose a tag to compare

@Snowflyt Snowflyt released this 02 Aug 09:49
· 17 commits to main since this release

What’s New

✨ New Feature: Library-Independent Inspect Methods

  • Added options.n providing node manipulation functions (same as mp::node) in custom inspect methods. Third-party libraries can now support megaprint without including megaprint.hpp as a dependency. (dd38b16)

🎈 Performance Improvements

Reduced binary size with potential runtime performance improvements. These include:

  • Skip global default options initialization when mp::inspect calls only involve string-like types. (aa087e6)
  • Simple types now bypass the build_tree -> stringify_node process and are directly stringified. (aa087e6)
  • Refactor ANSI color support code to enable better compiler inlining and dead code elimination. (aa087e6)