diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-04-19 15:37:56 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-04-19 15:37:56 +0000 |
commit | d8a8c482b2f6b09ee8995b9563397a9b9bd135e8 (patch) | |
tree | d0fd5a6aa809f9caa67ff4723a04cff84e42615c /src/cachestoremyriad.h | |
parent | 668737effd601778fba74edec14d22dd5b87457a (diff) | |
download | libbu++-d8a8c482b2f6b09ee8995b9563397a9b9bd135e8.tar.gz libbu++-d8a8c482b2f6b09ee8995b9563397a9b9bd135e8.tar.bz2 libbu++-d8a8c482b2f6b09ee8995b9563397a9b9bd135e8.tar.xz libbu++-d8a8c482b2f6b09ee8995b9563397a9b9bd135e8.zip |
Nevermind about the Myriad bug. It was really obvious, I was accidentally
adding all pre-allocated blocks to the header stream instead of just allocating
them. This caused some oddness, as you can probably imagine.
There's a good way to go before Myriad is as cool as it could be, but it's
already much more efficient and all around better than nids. I'll have to write
a program to convert nids cache stores to myriad cache stores, but that should
be fairly minor.
Diffstat (limited to 'src/cachestoremyriad.h')
-rw-r--r-- | src/cachestoremyriad.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h index a40ffb2..e5a10eb 100644 --- a/src/cachestoremyriad.h +++ b/src/cachestoremyriad.h | |||
@@ -16,8 +16,6 @@ | |||
16 | 16 | ||
17 | #include "bu/archive.h" | 17 | #include "bu/archive.h" |
18 | 18 | ||
19 | #include "bu/sio.h" | ||
20 | |||
21 | namespace Bu | 19 | namespace Bu |
22 | { | 20 | { |
23 | template<class keytype, class obtype> | 21 | template<class keytype, class obtype> |
@@ -60,7 +58,6 @@ namespace Bu | |||
60 | MyriadStream ns = mStore.openStream( 1 ); | 58 | MyriadStream ns = mStore.openStream( 1 ); |
61 | Bu::Archive ar( ns, Bu::Archive::load ); | 59 | Bu::Archive ar( ns, Bu::Archive::load ); |
62 | ar >> hId; | 60 | ar >> hId; |
63 | Bu::sio << hId << Bu::sio.nl; | ||
64 | } | 61 | } |
65 | catch( Bu::MyriadException &e ) | 62 | catch( Bu::MyriadException &e ) |
66 | { | 63 | { |