19 Dec 2012 05:15
efficient data structure: column with repeating values
Christopher Howard <christopher.howard <at> frigidcode.com>
2012-12-19 04:15:28 GMT
2012-12-19 04:15:28 GMT
Is there some good data type out there that basically provides a simple table, but with optimization for repeating values on one column? Something like: Data Table a b ...where it assumes that 'a' values will usually be unique, while 'b' values will usually be repeated from a small set? (But not needing to be fixed beforehand.) Like in... client | patron --------------- Bob | Tom Sarah | Tom Dick | Tom George | Harry Moe | Harry -- -- frigidcode.com
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe(Continue reading)
RSS Feed