FastString | StringBuilder class for Unity games | Game Engine library

 by   snozbot C# Version: Current License: MIT

kandi X-RAY | FastString Summary

kandi X-RAY | FastString Summary

FastString is a C# library typically used in Gaming, Game Engine applications. FastString has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Alternative to the StringBuilder class for Unity games, with minimal memory allocation and faster performance. Based on FastString by Nicolas Gadenne of Gaddy Games. The class has been designed to be most useful in common game situations: a concatenation of a few string and data, then used by a Unity api method as an immutable string - every frame. It handles Append() and Replace() without doing any allocation, except for very rare capacity augmentation (contrary to StringBuilder which surprisingly does capacity change very often). It also appends float and int numbers without any allocation. The only common memory allocation is when you retrieve the final immutable string - but this is only done when required.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              FastString has a low active ecosystem.
              It has 73 star(s) with 14 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              FastString has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of FastString is current.

            kandi-Quality Quality

              FastString has no bugs reported.

            kandi-Security Security

              FastString has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              FastString is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              FastString releases are not available. You will need to build from source code and install.

            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 FastString
            Get all kandi verified functions for this library.

            FastString Key Features

            No Key Features are available at this moment for FastString.

            FastString Examples and Code Snippets

            No Code Snippets are available at this moment for FastString.

            Community Discussions

            QUESTION

            why new virtual function will not break binary compatibility per phenomenon?
            Asked 2018-Mar-16 at 10:06

            I'm learning the binary compatibility based on this KDE wiki, and see that

            add a virtual function to a class that doesn't have any virtual functions or virtual bases

            will break compatibility. Then I had a try.

            Assume I want to create a FastString.dll to provide out, and here is the definition.

            ...

            ANSWER

            Answered 2018-Mar-16 at 10:06

            The calling of the non-virtual function FastString::length() is layout independent and that function being defined in the DLL knows the actual object layout and finds the right member. You should be hit by layout incompatibilities by making m_len public and accessing it from outside of DLL.

            While there is no general rule about where the VMT is located it is usually created by compiler and put inside some specific translation unit (*.obj) , i.e. there where the first virtual function is defined. Sometimes when for instance all virtual functions are inline more advanced strategies must be applied and they usually involve linker. But generally when using an older header compiler will have not enough hints involving presence of the VMT and will not create a VMT pointer for that object.

            Source https://stackoverflow.com/questions/49317106

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

            Vulnerabilities

            No vulnerabilities reported

            Install FastString

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            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/snozbot/FastString.git

          • CLI

            gh repo clone snozbot/FastString

          • sshUrl

            git@github.com:snozbot/FastString.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