Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualRyan_001

Posted 23 February 2013 - 01:33 AM

A few months ago I put to together a few simple hash containers for my own use.  Similar to unordered_set (and its multiset, map, and multimap variants) but instead using continuous memory like a vector, called unordered_flat_set, unordered_flat_multiset, unordered_flat_map, and unordered_flat_multimap.
 
On another forum a few people mentioned that this would be useful for them and that I should consider submitting it to boost.  Now this seems like a rather daunting task to me at the moment.  I thought I'd post what I have here to see what people think.  The latest files can be found here: https://sourceforge.net/projects/unorderedflatse/files/?.  It compiles with no errors or warnings on both VC2012 with the november CTP compiler and MinGW/gcc v4.7.2.  I don't have proper benchmarking or unit tests yet, but there is some simple example code.
 
My questions then being:
1) Should I even bother with attempting to submit it to boost?
2) Does the interface make sense?  Would it be something you would want to use?
3) Where is the boost::vector::containter unit test code?  I can find the unit testing framework but I can't actually find the unit tests.  It seemed like that'd be a perfect starting point for putting together some proper tests, but I can't seem to find it...
 
There's a few smaller questions/issues but they're kinda minor compared to questions 1 and 2 so I'll leave it at that.

#2Ryan_001

Posted 23 February 2013 - 01:32 AM

A few months ago I put to together a few simple hash containers for my own use.  Similar to unordered_set (and its multiset, map, and multimap variants) but instead using continuous memory like a vector, called unordered_flat_set, unordered_flat_multiset, unordered_flat_map, and unordered_flat_multimap.
 
On another forum a few people mentioned that this would be useful for them and that I should consider submitting it to boost.  Now this seems like a rather daunting task to me at the moment.  I thought I'd post what I have here to see what people think.  The latest files can be found here: https://sourceforge.net/projects/unorderedflatse/files/?.  It compiles with no errors or warnings on both VC2012 with the november CTP compiler and MinGW/gcc v4.7.2.  I don't have proper benchmarking or unit tests yet, but there is some simple example code.
 
My questions then being:
1) Should I even bother with attempting to submit it to boost?
2) Does the interface make sense?  Would it be something you would want to use?
3) Where is the boost::vector::containter unit test code?  I can find the unit testing framework but I can't actually find the unit tests.  It seemed like that'd be a perfect starting point for putting together some proper tests, but I can't seem to find it...
 
There's a few smaller questions/issues but they're kinda minor compared to questions 1 and 2 so I'll leave it at that.

#1Ryan_001

Posted 23 February 2013 - 01:31 AM

A few months ago I put to together a few simple hash containers for my own use.  Similar to unordered_set (and its multiset, map, and multimap variants) but instead using continuous memory like a vector, called unordered_flat_set, unordered_flat_multiset, unordered_flat_map, and unordered_flat_multimap.

 

On another forum a few people mentioned that this would be useful for them and that I should consider submitting it to boost.  Now this seems like a rather daunting task to me at the moment.  I thought I'd post what I have here to see what people think.  The latest files can be found here: https://sourceforge.net/projects/unorderedflatse/files/?.  It compiles with no errors or warnings on both VC2012 with the november CTP compiler and MinGW/gcc v4.7.2.  I don't have proper benchmarking or unit tests yet, but there is some simple example code.

 

My questions then being:

1) Should I even bother with attempting to submit it to boost?

2) Does the interface make sense?  Would it be something you would want to use?

3) Where is the boost::vector::containter unit test code?  I can find the unit testing framework but I can't actually find the unit tests.  It seemed like that'd be a perfect starting point for putting together some proper tests, but I can't seem to find it...

 

There's a few smaller questions/issues but they're kinda minor compared to questions 1 and 2 so I'll leave it at that.


PARTNERS