asc-community / asc-community/AngouriMath

Some kind of `FastString` instead of `string` for `ToString`

Open
#392 0 comments 0 reactions 0 assignees View on GitHub
Not now Proposal
Dominant language
C#
Stars
831
Forks
79
Avg merge
3h 23m
Merged PRs (30d)
309

Description

**The package I want to suggest the idea to**: AngouriMath

So there should be a class `FastString` which would be a bi-directional wrapper over `StringBuilder`, so that we could apply `+` operator to it. This class itself is mutable, so maybe it should be rather called `BiStringBuilder`.

The use of such a class would significantly (tens of times) boost `ToString()` of big expressions, and slighly speed up for small expressions.

Where to work:
`Sources/AngouriMath/Functions/Output/ToString`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.