std2_format 0.1.0

making std.format fast


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

std2.format

This is an attempt to improve std.format compile time performance by only supporting strings no wstring no dstring.

See the below code importing std2.format.

import std2.format;

void main() {
    string s = format("Hello %s %s", "World", 1337);
    assert(s == "Hello World 1337");
}

Note the import statement at the top of the example. This is all that should be required to use the faster compiling std2.format.

Limitation

alias this toString()

Currently, alias this and toString implementations conflict. PR's welcome

Some floating point tests fail

I don't know why. PR's welcome

Authors:
  • Robert Schadek
Dependencies:
none
Versions:
0.1.0 2025-Sep-07
0.0.4 2025-Aug-21
0.0.3 2025-Aug-20
0.0.2 2025-Aug-20
~master 2025-Sep-07
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 5 downloads total

Score:
0.1
Short URL:
std2_format.dub.pm