Git Product home page Git Product logo

mdds's People

Contributors

canuckbear avatar caolanm avatar cjmayo avatar dennisfrancis avatar dtardon avatar fridrich avatar heirecka avatar kohei-us avatar llunak avatar mmohrhard avatar pmladek avatar stbergmann avatar tabe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mdds's Issues

mdds-0.11.1 fails to build with boost-1.57

If I try to build mdds with boost-1.57 I get the following errors during make 
check:

"In file included from include/mdds/multi_type_vector.hpp:34:0,
                 from ./src/multi_type_vector_test_default.cpp:31:
include/mdds/multi_type_vector_types.hpp: In static member function 'static 
void mdds::mtv::element_block<_Self, _TypeId, _Data>::print_block(const 
mdds::mtv::base_element_block&)':
include/mdds/multi_type_vector_types.hpp:258:9: error: 'for_each' is not a 
member of 'std'
         std::for_each(blk2.begin(), blk2.end(), print_block_array());
...
(more of the same kind)"

The attached patch fixes that. The reason is probably the newer boost version 
dropping a #include.

Original issue reported on code.google.com by [email protected] on 6 Nov 2014 at 6:43

Attachments:

Support cached search to flat_segment_tree.

Support a cached search operation where the last search result is stored, and 
is used instead of running full search each and every time.

Tree search is not necessarily cheap, and there are many cases where the client 
code has to cache the last search result and re-use it for better performance.  
Why not support this in the library itself?

Original issue reported on code.google.com by [email protected] on 2 Dec 2010 at 7:00

Add ability to find by key from the end point.

Currently, flat_segment_tree::search() only searches from the head position.  
Add a new method to allow searching from the end position.

While I'm at it, I should also rename search() and search_tree() to find() and 
find_tree(), respectively, to make the naming more in line with STL's.

Original issue reported on code.google.com by [email protected] on 27 Sep 2010 at 8:03

use of flat_segment_tree::shift_right can cause crash on destruction of the tree

When all nodes are shifted right and the leftmost node has a value other than 
initial, a new node is inserted, but it is not linked from the node right to 
it. This causes crash in the loop in disconnect_all_leaves, because 
disconnect_all_nodes(cur_node) deletes the node next_node is currently pointing 
to.

Fix attached.

Original issue reported on code.google.com by dave.tardon on 24 Mar 2011 at 2:06

Attachments:

flat_segment_tree::shift_right can violate key ordering if size of shift is too big

If the tree is shifted from the leftmost leaf and the value of it differs from 
the initial value, a new node that carries the value of the leftmost leaf is 
inserted. But if the shift size is bigger than the span of the tree, its key 
will be greater that that of the rightmost leaf.

Demonstration example and fix attached.

Original issue reported on code.google.com by dave.tardon on 24 Mar 2011 at 2:36

Attachments:

mdds tarballs do not ship autotools files

Please ship Makefile.am and configure.{ac,in} files in your release tarballs in 
order for us to be able modify build system if needed.

It is much easier for packager to alter the above files and run autogen.sh 
again then to crawl throught the raw configure sh script.

Thanks

Original issue reported on code.google.com by [email protected] on 22 Jul 2011 at 9:41

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.