ripcordsoftware / libstringintern Goto Github PK
View Code? Open in Web Editor NEWA C++ library for interning strings
License: MIT License
A C++ library for interning strings
License: MIT License
Great job with this library!
This is just what I need for an open source project I'm working on, but I need serialization support.
Do you have any plans for that or do you accept PRs?
Thanks
In order to prevent strange destruct sequence problems the nursery and catalog should hold shared_ptr and not StringPage*.
The archive should use make_shared() to make the pointers.
Calling StringPagesCatalog.Add() causes the internal counter to increment even if the page could not be added. This could cause overflow eventually which would result in a corrupted catalog.
The -latomic linker command line switch cases build fail on OSX.
Need to sniff the platform as part of the build since -latomic is required on PPC.
The vector<atomic> type is prone to false sharing on high footfall variables like the page offset counters.
StringPagesCatalog.Add() accepts a nullptr StringPage* into the catalog. These pages should be rejected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.