nim-stack-strings icon indicating copy to clipboard operation
nim-stack-strings copied to clipboard

Library for guaranteed zero heap allocation strings

Results 4 nim-stack-strings issues
Sort by recently updated
recently updated
newest added

Presently procedures are annotated `raises: [SomeDefect]` this causes warnings cause raise is only meant for `CatchableErrors` there is no `Defect` tracking.

Makes a new base type `StackStringBase[T; Size: static Natural]` that has a generic parameter for the string length size. For backwards compatibility purposes, `StackString[N: static Natural]` is defined as a...

alternative PR calculating the minimal int size for comparison to having it as a generic param.

Thanks for the library! What do you think about making `lenInternal` customizable to different int types? Alternatively the smallest `lenInternal` size could be figured out at compile time. I've been...