diff options
author | John Langford <jl@hunch.net> | 2013-01-23 02:56:36 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2013-01-23 02:56:36 +0400 |
commit | d5695a55b2914c35c745f9406502b018a950d3f4 (patch) | |
tree | 700ca3b77643b6e859297c5c5008593a53ec843f /vowpalwabbit/parse_primitives.h | |
parent | 15e1b52ac4f48fd7ad03524dbe1c3b88a2f3157a (diff) |
removing globals in parser.cc
Diffstat (limited to 'vowpalwabbit/parse_primitives.h')
-rw-r--r-- | vowpalwabbit/parse_primitives.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vowpalwabbit/parse_primitives.h b/vowpalwabbit/parse_primitives.h index 57a6cebf..3ca65db0 100644 --- a/vowpalwabbit/parse_primitives.h +++ b/vowpalwabbit/parse_primitives.h @@ -74,6 +74,10 @@ struct parser { size_t ring_size; uint64_t parsed_examples; // The index of the parsed example. uint64_t local_example_number; + example* examples; + uint64_t used_index; + bool done; + v_array<size_t> gram_mask; v_array<size_t> ids; //unique ids for sources v_array<size_t> counts; //partial examples received from sources |