cuplv / iodyn.rust

Collections Library for Adapton, in Rust
13 stars 0 forks source link

Abstract the metadata from the Raz #3

Closed kyleheadley closed 7 years ago

kyleheadley commented 7 years ago

I'm making this a pull request because it's a significant change.

Instead of item counts stored in the Raz branches, there is now arbitrary metadata, from a trait defined in raz_meta.rs. I wrote a "Count" metadata that restores the old functionality.

I updated the incremental map function to take all the node data as input. Meta data needs to be updated manually during a mapping, but the outer API takes care of this.

All our previous tests/evaluations still work with similar results.

I commented out some iterators that need updating. Previously, they were only used in formatting debugging text. I'll fix them up on demand.

kyleheadley commented 7 years ago

I added the names hash table metadata and a test for focusing on a name.