smartstring | Compact inlined strings for Rust

 by   bodil Rust Version: v1.0.1 License: MPL-2.0

kandi X-RAY | smartstring Summary

kandi X-RAY | smartstring Summary

smartstring is a Rust library. smartstring has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

This crate provides a wrapper for Rust's standard String which uses the space a String occupies on the stack to store inline string data, automatically promoting it to a String when it grows beyond the inline capacity. This has the advantage of avoiding heap allocations for short strings as well as improving performance thanks to keeping the strings on the stack. This is all accomplished without the need for an external discriminant, so a SmartString is exactly the same size as a String on the stack, regardless of whether it's inlined or not. Converting a heap allocated SmartString into a String and vice versa is also a zero cost operation, as one will reuse the allocated memory of the other.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              smartstring has a low active ecosystem.
              It has 434 star(s) with 32 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 7 open issues and 17 have been closed. On average issues are closed in 85 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of smartstring is v1.0.1

            kandi-Quality Quality

              smartstring has 0 bugs and 0 code smells.

            kandi-Security Security

              smartstring has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              smartstring code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              smartstring is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              smartstring releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of smartstring
            Get all kandi verified functions for this library.

            smartstring Key Features

            No Key Features are available at this moment for smartstring.

            smartstring Examples and Code Snippets

            No Code Snippets are available at this moment for smartstring.

            Community Discussions

            No Community Discussions are available at this moment for smartstring.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install smartstring

            You can download it from GitHub.
            Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.

            Support

            API docs
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/bodil/smartstring.git

          • CLI

            gh repo clone bodil/smartstring

          • sshUrl

            git@github.com:bodil/smartstring.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link