dryman / opic

Fast serialization framework for C
GNU Lesser General Public License v3.0
224 stars 21 forks source link

Opic 58 Map OPHeap directly to a file #76

Closed dryman closed 7 years ago

dryman commented 7 years ago

OPHeapNew and OPHeapRead merged to single API OPHeapOpen. OPHeapWrite and OPHeapDestroy merged into OPHeapClose.

The API is cleaner in this way. (fewer types for users!) Also it solves the overcommit memory issue on linux. Because the API got simplified, I also updated the example in doc to show that how easy it is to use OPIC.