Skip to content
Snippets Groups Projects
  1. Feb 02, 2016
  2. Jan 27, 2016
  3. Jan 26, 2016
  4. Jan 24, 2016
  5. Jan 21, 2016
    • Arseny Kapoulkine's avatar
      Change header format in non-compact mode to store page offset · 7f913019
      Arseny Kapoulkine authored
      This utilizes the fact that pages are of limited size so we can store offset
      from the object to the page in a few bits - we currently use 24 although that's
      excessive given that pages are limited to ~512k.
      
      This has several benefits:
      
      - Pages do not have to be 64b aligned any more - this simplifies allocation flow
      and frees up 40-50 bytes from xml_document::_memory.
      
      - Header now has 8 bits available for metadata for both compact and default mode
      which makes it possible to store type as-is (allowing easy type extension and
      removing one add/sub operation from type checks).
      
      - One extra bit is easily available for future metadata extension (in addition
      to the bit for type encoding that could be reclaimed if necessary).
      
      - Allocators that return 4b-aligned memory on 64-bit platforms work fine if
      misaligned reads are supported.
      
      The downside is that there is one or two extra instructions on the allocation
      path. This does not seem to hurt parsing performance.
      7f913019
  6. Jan 20, 2016
  7. Jan 14, 2016
    • Arseny Kapoulkine's avatar
      Merge pull request #79 from zeux/embed-pcdata · c388dbeb
      Arseny Kapoulkine authored
      Add parse_embed_pcdata flag
      
      This flag determines if plain character data is be stored in the parent element's value. This significantly changes the structure of the document; this flag is only recommended for parsing documents with a lot of PCDATA nodes in a very memory-constrained environment.
      
      Most high-level APIs continue to work; code that inspects DOM using first_child()/value() will have to be adapted.
      c388dbeb
  8. Jan 13, 2016
  9. Jan 10, 2016
  10. Jan 08, 2016
  11. Dec 31, 2015
  12. Dec 30, 2015
  13. Dec 29, 2015
  14. Dec 03, 2015
  15. Nov 13, 2015
    • Arseny Kapoulkine's avatar
      Work around MinGW versions with non-C99 compliant headers · 2cf599b3
      Arseny Kapoulkine authored
      Apparently some MinGW distributions have a compiler that's recent enough to
      support C++11 but limits.h header that incorrectly omits LLONG limits in
      strict ANSI mode, since it guards the definitions with:
      
      	#if !defined(__STRICT_ANSI__) && defined(__GNUC__)
      
      We can just define these symbols ourselves in this specific case.
      
      Fixes #66.
      2cf599b3
  16. Oct 25, 2015
  17. Oct 24, 2015
  18. Oct 23, 2015
  19. Oct 20, 2015
  20. Oct 19, 2015
Loading