> o If you forget to call Open(), it segfaults
I'll check & fix.
> o No data writeout until compact?
No data writeout until SaveFile() is called.
> o Inserting 100,000 blocks is horribly slow (I know, you're
> fixing it) -- it's still running, now at 17 minutes, and
> only 52,000 blocks...39:00 - 79,000 blocks...
> 44:00 - 84,000... all in all, it took 1:19:20 (yes, over
> an hour!) and ate over 5 megs of RAM. And it created a blank,
> 46-byte file! Who ate my data?!
Working on this.
> o To long string at prompt = segfault (buffer overflow!)
The demo is just a program I hacked together. It expects you to do the
checking and I don't plan to change that. It's not worth the effort.
> o Adding blocks is in quadratic [ O(n^2) ] time! This is a crime
> against humanity! (tester to prove this attached)
See above.
> o Destructor did not write data to file -- was it supposed to?
> Or must I call close()?
If Close() isn't called, nothing is written as SaveFile() isn't called.
> o Constructor did not open file -- it should, to be simular to
> an fstream.
This can't be done due to C++ limitations. If XEndianFile calls Open() in
its constructor, XEndianFile's method will be called, but not XBlockFile's,
as the XBlockFile constructor isn't called (and XBlockFile isn't
instantiated) until XEndianFile's constructor has run. You'll have to live
with two separate calls.
> o No man file
I have a doc file in there. I don't have a tool to create manpages.
> o No configure file to set up XEndianFile
I don't know how to create configure files. I didn't do anything
*nix-Specific. You'll have to set up the sources yourself to have them
compile on another platform. I can only do this on platforms I'm working
with, which currently is Mac only.
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
http://www.weblayout.com/witness
'The Witnesses of TeachText are everywhere...'
--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html