Skip to content
Snippets Groups Projects

perf: remove redundant allocations & computations from generated code

Merged Georgy Moshkin requested to merge gmoshkin/encode-decode-perf into master
All threads resolved!

Summary

  • fix: decode field name in error from utf8
  • fix: use format_ident instead of trim_start_matches
  • fix: context used almost always to ignore context
  • perf: remove redundant allocations & computations from generated code

Ensure that

  • New code is covered by tests
  • API is documented
  • Changelog is up to date
  • Version is bumped in the appropriate Cargo.toml files
Edited by Егор Ивков

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 10 commits

    • 854dedc7...7401f597 - 6 commits from branch master
    • 1b361ad2 - perf: remove redundant allocations & computations from generated code
    • 466509e0 - fix: context used almost always to ignore context
    • a5d1ab85 - fix: use format_ident instead of trim_start_matches
    • 9d6fb798 - fix: decode field name in error from utf8

    Compare with previous version

  • Егор Ивков resolved all threads

    resolved all threads

  • Егор Ивков marked this merge request as ready

    marked this merge request as ready

  • Егор Ивков marked the checklist item New code is covered by tests as completed

    marked the checklist item New code is covered by tests as completed

  • requested review from @gmoshkin

  • Georgy Moshkin approved this merge request

    approved this merge request

  • merged

  • Please register or sign in to reply
    Loading