emersion / emersion/mrsh

Add mrsh_word_append_to

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
531
Forks
40
PR merge metrics
No merged PRs in 30d

Description

`mrsh_word_append_to(word, buffer)` would write to a buffer. This would allow to optimize when calling `mrsh_word_str` in a loop.

Contributor guide

Open the contributing guide

Research direction

Search the repository for mrsh_word_str and inspect the word-related code that implements it. Trace how words are currently converted in a loop, then add the requested mrsh_word_append_to(word, buffer) entry point so callers can write directly to a buffer and avoid repeated string conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.