mtrempoltsev / pods Goto Github PK
View Code? Open in Web Editor NEWFast and simple C++ serializer
License: MIT License
Fast and simple C++ serializer
License: MIT License
WriteOnlyStreamStorage использует буфер и его производительность хороша, но ReadOnlyStreamStorage не имеет буфера и читает напрямую из std::istream, поэтому производительность неудовлетворительна. Нужно использовать буфер.
Проблема, например, с сериализацией std::vectorstd::string - сериализатор хочет записать версию класса.
This is need for field order independent parsing. More slower but more friendly for manual Json editing.
Hi,
I haven't used PODs before, so the first place I'm looking at documentation to get an idea of how difficult or eays it will be ot integrate it into my application is the example on the main readme in the repo.
When I first glossed over it, considering a few different libraries ot use for my project, I got the impression that PODS required a server internally to function - perhaps underneath, the library was setting one up to receive data in the background, etc. etc.
I now realise that this is just because the sort of data we are storing is a list of servers, but this wasn't immediately obvious. Therefore, I think it would be a good idea to add a note on this line explaining what we're doing, or pick a different example of domain data to show on the main page of the repository (something more obvious as an example., like fruits, animals or planets), as without having seen the library before, intermingling Server code and PODS code, it gave me the impression PODs required some sort of more complex Server structure in order to work, and thus it would need a lot more work involved in getting it to work than it really will.
can you recommend some links for fast cash memory calculations
so fastest possible, pls
spasibo
Нужно поддержать сохрание и чтение в/из Json
Учитывать big/little-endian
Написать тесты.
Сейчас сериализуются std::array, std::map, std::vector, надо добавить поддержку оставшегося и C-array
Сейчас можно сериализовать бинарные данные указав тип-обертку Binary. Она по сути указатель на фиксированный блок памяти, но иногда надо чтобы при десереализации можно было увеличить размер памяти.
Чтобы в JSON сериализовать бинарные данные нужно добавить специальный тип. Пример:
struct Blob
{
char* data;
size_t size;
};
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.