- Oct 16, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Oct 12, 2013
-
-
Christian Hergert authored
-
- Oct 11, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- Oct 10, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
This should probably be abstracted into a macro to define UL vs ULL on the given platform based on sizeof(void*).
-
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
This should be a bit easier to maintain to boot. I'm removing the per-platform swapping functions since they are mostly moot anyway. Ideally, we would add support for non-GCC builtins in the future. Clang and Intel compilers seem typical.
-
- Oct 08, 2013
-
-
Christian Hergert authored
Our bson_iter_t will catch this problem, but since it is a constant time operation it seems useful enough to do upfront.
-
- Oct 04, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
- Oct 01, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
This commit initializes using /dev/urandom as well as printing the value to stderr for use in replicating results. Useful for making sure the fuzzer always tests with new data but allowing recreation of failure.
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Sep 26, 2013
-
-
Christian Hergert authored
-
Christian Hergert authored
-
Christian Hergert authored
-
- Sep 24, 2013
-
-
Christian Hergert authored
-
- Sep 18, 2013
-
-
Christian Hergert authored
-
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
-