summaryrefslogtreecommitdiffhomepage
path: root/stc
AgeCommit message (Collapse)Author
2020-06-22Removed some unneeded example code in header.Tylo
2020-06-22Updated CArray to support destructors, and added underscore before used ↵Tylo
defined tag - for consistency with the other containers. Changed map/set type-tag for CHash to upper case MAP/SET. Makes it clearer it is a tag and not a type or variable. Added complex example to README.md demonstrating capability of nested containers, using custom destructors.
2020-06-21Renamed files and classes: cmap -> chash, copt -> coptionTylo
2020-06-20Renamed CMap to CHash, to reflect that it now supports both (unordered) Map ↵Tylo
and Set. Second arg in declare_CHash() should be 'set' or 'map'. Refactored copt.h to be more consistent with other types. Added cvector_make(size, fillvalue) constructor.
2020-06-18Added cmap_eraseBucket, and split cmap_erase in two.Tylo
Cleanup white spaces and comments/examples.
2020-06-18Some fixes of benchmark, and some code improvements.Tylo
2020-06-16Removed glm. Some opt. on hash.Tylo
2020-06-15Fixed including standard include files.Tylo
2020-06-15Compile on Linux.Tylo
2020-06-06Some cleanup.Tylo
2020-06-05Added xoroshiro128ss_jump, sfc32, and fast convertion to float/double.Tylo
2020-06-05Minor tweak.Tylo
2020-06-05Added siphash to crandom.h and some small enhancements.Tylo
2020-05-29Refactored. Added cmap_find and cmap_insert pair of functions. Renamed types.Tylo
2020-05-27Removed comments, cleanup.Tylo
2020-05-27Added rngtest.c and included xoroshiro128ss_rand() and sfc64_rand()Tylo
2020-05-26Optimized and cleaned. Removed mult in favor of ? operator speedup.Tylo
2020-05-25Renamed.Tylo
2020-05-25A minor opt.Tylo
2020-05-24Add Mersenne Twister random number generator.Tylo
2020-05-23Renamed cflist.h to clist, because it is not like std::forward_list which ↵Tylo
misses pushBack().
2020-05-23Many minor cstring bug fixes and improvements. Added demos.c and ↵Tylo
advanced_example.c
2020-05-22Clean up. Added makeReserved() and renamed to makeFilled()Tylo
2020-05-20Cleanup, and small fix in makeFmt.Tylo
2020-05-18Added cstring_printf(s, fmt...) and simlilar constructor cstring_makeFmt() ↵Tylo
and renamed *copy to *assignS
2020-04-30Added missing #include <malloc.h>, and redefined default equal.Tyge
2020-04-30Nothing.Tyge
2020-04-30Added example in cmap.hTyge
2020-04-30Refactored: made hashx into its own array (8 bit from 16 bit), instead of ↵Tyge
part of the bucket. Good speed increase and lower memory usage.
2020-04-30Added KHASH in benchmark, tuned cmap.Tyge
2020-04-29Some small tweaks. Simplified hash32 function, makes it faster even if ↵Tyge
distribution is worse (good enough).
2020-04-29Making code clearer, and update benchmark.cTyge
2020-04-28Fixed error on GCC when using -O2 and -O3 optimization. Added volatile to ↵Tyge
hash function input.
2020-04-27Removed non-standard GNU extension usage.Tyge
2020-04-27Refactor private _string_size nameTyge
2020-04-27Changed parameter sequence for main code gen macros.Tyge
2020-04-26More refactor.Tyge
2020-04-26Renamed c_defaultDestroy to c_noDestroyTyge
2020-04-26Refactored: Uses STC_API to control extern or static inline. Define ↵Tyge
STC_HEADER or STC_IMPLEMENTATION when using extern linkage. Fixed a few bugs.
2020-04-25Removed parameter posixly_correct, instead use official '+' in first ↵Tyge
position of shortopts for this.
2020-04-25..Tyge
2020-04-25Renamed cslist to cflist (forward_list). Renamed cstring_makeCopy() to ↵Tyge
cstring_clone()
2020-04-24Updated docs, renamed bad to faultyTyge
2020-04-23Removes Warning for C99 usage in VS when compiled as C++.Tyge
2020-04-23Fixed bugs with use of "Raw" types, and updated EXAMPLE.md accordingly.Tyge
2020-04-20Added spliceTyge
2020-04-20Added remove and empty to cslistTyge
2020-04-20Small opt. in cslist, update readme.mdTyge
2020-04-20formatting stuffTyge
2020-04-20Fixed and redesigned iterators.Tyge