- Sep 18, 2013
-
-
Christian Hergert authored
-
- Sep 17, 2013
-
-
Christian Hergert authored
bson_data() is rather slow when used in a hot path. Just call it once and increment our buffer pointer manually. This is safe because we have already done our buffer growth outside this hot path.
-
Christian Hergert authored
Let the compiler setup the constant mask directly.
-
Christian Hergert authored
-
Christian Hergert authored
This is actually a pretty healthy performance boost. We avoid traversing the hierarchy which means we also don't pollute the cache lines so much.
-
Christian Hergert authored
-
Christian Hergert authored
If we just initialize everything to the default, we can just use malloc instead of calloc for a bit of a speed improvement.
-
Christian Hergert authored
-
Christian Hergert authored
The default pointer alignment is fine since we only care about cache alignment for stack allocations using inline structures.
-
Christian Hergert authored
-
- Sep 06, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Sep 05, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Sep 04, 2013
-
-
Christian Hergert authored
Various build system improvements. * Try to use -Bsymbolic to avoid PLT jumps. * Detect Windows (define OS_LINUX OS_WINDOWS) * Verify basic ABI compliance with abicheck.sh and libbson.symbols. * Cleanup bson/Makefile.include.
-
- Aug 31, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- Aug 28, 2013
-
-
Christian Hergert authored
-
- Aug 27, 2013
-
-
Christian Hergert authored
Libbson is pretty aggressive about warning the consumer of invalid API use. However, that means that we short circuit some functions. This is valid since consumers shipping invalid API use is nothing we can protect against, but this will at least quiet some static analyzers.
-
- Aug 24, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Aug 23, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-