1. 31 Jan, 2016 2 commits
    • Scott Wolchok's avatar
      Cache scalar regexes · 8c35a8ff
      Scott Wolchok authored
      This improves performance on the test.yaml attached to #158 by about
      35% on my machine (0.39s -> 0.25s), as measured by
      `time build/util/parse < test.yaml > /dev/null`.
      8c35a8ff
    • Jesse Beder's avatar
      Add features to read binary: · 9e37409b
      Jesse Beder authored
      Flag -n N repeats parsing N times.
      Flag -c (--cache) caches the input in a string and uses that to parse.
      9e37409b
  2. 30 Jan, 2016 2 commits
  3. 12 Jan, 2016 1 commit
  4. 11 Jan, 2016 2 commits
    • Matt Blair's avatar
      Replace Boost usage with C++11 features · 24fa1b33
      Matt Blair authored
       - Adds 'std=c++11' compiler flags
       - Replaces boost::type_traits with std::type_traits
       - Replaces boost::shared_ptr with std::shared_ptr
       - Replaces std::auto_ptr with std::unique_ptr
       - Replaces raw pointers with std::unique_ptr in ptr_vector, ptr_stack, and SettingChanges
       - Replaces boost::noncopyable with deleted copy and assignment operators
       - Replaces boost::next with std::next
       - Replaces boost::enable_if with std::enable_if
       - Replaces boost::is_convertible with std::is_convertible
       - Replaces ptrdiff_t with std::ptrdiff_t
       - Replaces boost::iterator_facade and boost::iterator_adaptor with std::iterator, borrowing the 'proxy reference' technique from boost
       - Removes Boost dependency from CMakeLists
       - Formats changed files using clang-format
      24fa1b33
    • Jiri Hoogland's avatar
      Add PIC compile flag for GNU/CLang. · 4376ebac
      Jiri Hoogland authored
      - ensures shared library code is position-independent.
      4376ebac
  5. 10 Jan, 2016 2 commits
  6. 22 Nov, 2015 2 commits
  7. 25 Jul, 2015 1 commit
  8. 08 Jun, 2015 1 commit
    • Jonathan Hamilton's avatar
      Fix some Node::operator[] regressions from 0.5.1 · b426faff
      Jonathan Hamilton authored
      "const Node Node::operator[](const Key& key) const" changed from
      returning new empty node if the key was missing in 0.5.1 to returning
      a shared 'zombie' node in 0.5.2 to resolve a memory leak.
      
      (Specifically 1025f76d was where this
      was introduced)
      
      This caused some regressions where this 'zombie' object threw exceptions
      in some functions where the 'empty' object would not.
      
      This change fixes the Node::as(fallback) method (to return the
      'fallback' instead of throwing an exception) and the
      Node::begin()/Node::end() methods to return default-constructed
      iterators (so begin() == end() in such cases) instead of another
      exception.
      b426faff
  9. 26 May, 2015 1 commit
  10. 08 Apr, 2015 3 commits
  11. 03 Apr, 2015 1 commit
  12. 02 Apr, 2015 1 commit
  13. 31 Mar, 2015 5 commits
  14. 30 Mar, 2015 4 commits
  15. 29 Mar, 2015 1 commit
  16. 21 Feb, 2015 3 commits
  17. 24 Jan, 2015 8 commits