From fbba5d258fb0c1ddcbab3dc1fb9785555932fc97 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Wed, 9 Dec 2015 09:57:11 -0500 Subject: [PATCH] csv-read performance iterate --- c/containers/free_flags.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 c/containers/free_flags.h diff --git a/c/containers/free_flags.h b/c/containers/free_flags.h new file mode 100644 index 000000000..78d7b91a7 --- /dev/null +++ b/c/containers/free_flags.h @@ -0,0 +1,13 @@ +#ifndef FREE_FLAGS_H +#define FREE_FLAGS_H + +// For use by various data structures including slls_t and lrec_t. Some +// keys/values are dynamically allocated and should be freed the container's +// destructor, and some should not. Examples of the former include strduped +// keys/values; examples of the latter include data from string literals, or +// from mmapped file-input data. + +#define FREE_ENTRY_KEY 0x80 +#define FREE_ENTRY_VALUE 0x08 + +#endif // FREE_FLAGS_H