Search:
Type: Posts; User: JamesSchumacher
Search:
Search took 0.17 seconds.
-
January 29th, 2009, 11:15 AM
I have tested this and debugged it, I have found no problems that I can see at the moment. Can any of you see any POTENTIAL problems with the below code?
template <typename NodeType> bool...
-
January 22nd, 2009, 05:22 PM
And yes I know that the ITERATOR code is incorrect, that's supposed to be the general iterator, I got in a hurry!
I have debugging the code I am working on as I work on it, and since I just...
-
October 13th, 2008, 05:29 PM
Calculate your output file size, use SetFilePointer() to set the file pointer, use SetEndOfFile(), then seek back to the beginning and write out all your data. It's much quicker.
-
October 13th, 2008, 07:48 AM
Are you asking what are hashed functions used for, and a simple reference for that?
If that is the case, one use for a hash function is to create an integer value that can be used as an index into...
-
October 12th, 2008, 11:40 AM
There is no practical limit to how to implement a hash function, you can use your imagination. The width of the output hash is a consideration when creating a hash function. You determine the...
-
October 11th, 2008, 08:12 PM
I have done a lot of improving my skills this past year, and one of the things that I have learned how to do, that I think a lot of people would love to know just to be able to improve their skills...
-
October 11th, 2008, 06:49 PM
Native C++ doesn't nave defined properties, properties in pure C++ are implemented as variables with getter/setter methods.
If you want to implement properties in native C++, you have to write...
-
October 11th, 2008, 06:31 PM
Pack your structure on 1 byte boundaries. (#include <pshpack1.h> #include <poppack.h>)
Then just cast a pointer to the structure variable to a const char * when you pass it to the send() function....
-
October 11th, 2008, 05:32 PM
Considering that the thread should be left to die according to you, then why did you post? It's a thread on a forum.
Last for me here, trust me.
-
October 11th, 2008, 04:13 PM
Actually, that isn't what it was. It was an attempt to shut your mouth about my lack of knowledge about STL. I know how to use it, and to give you a better idea.
The dictionary class will have a...
-
October 11th, 2008, 03:19 PM
I suppose you would want to see code more like this.
class CHashBucket /// Going to use a 5 byte hash, to limit list heights =)
{
public:
CHashBucket();
~CHashBucket();
-
October 11th, 2008, 08:04 AM
You can write your own hash functions.
-
October 6th, 2008, 05:02 PM
................
You'd be surprised how distracting a sense of God can be.
-
October 5th, 2008, 09:46 PM
When I began teaching myself C++ about 8 years ago, I was VERY FRUSTRATED at how I wanted to know everything all at once, and let me tell you, it took me until THIS YEAR to find out how to implement...
-
October 3rd, 2008, 08:04 PM
I "got rid" of all those errors before I started on SkyZip. None of this code is having those problems.
My Spaces Site
You can find more info about the development of SkyZip (and the adaptive...
-
October 3rd, 2008, 04:44 PM
How about this?
This beats deflate on 60% of files, 40% deflate wins on. Could be about 50% in further testing that my compressor beats deflate. Not avi files, but image files it ALWAYS beats...
-
October 3rd, 2008, 02:17 PM
Another note, as the comment says in that source.
(NOTE THAT SkyZip IS NOT OPEN SOURCE)
However, since this is only the Lempel Ziv compressor (not the base encoder although that is basically...
-
October 3rd, 2008, 12:02 PM
I am writing a generic adaptive coding mechanism, this 'coder' implementation only keeps track of an alphabets frequencies and the update procedure, etc... The actual ENCODING/DECODING of values is...
-
October 2nd, 2008, 03:49 PM
/// I am not joking, this is my actual code
void CDictionary::AddHashes(unsigned long dwCount)
{
const unsigned long dwDataLeft = m_dwDataLength > m_dwDictPos ?...
-
October 1st, 2008, 04:30 PM
And you wouldn't be interested in hearing that with a chain limit of 300, I am giving up 30KB of compression for a 127MB file, however... I have a speed of almost 9MB a second.
I would have to cut...
-
October 1st, 2008, 12:54 PM
In order for you to get an idea...
Just a 'portion' of my class and it's declaration.
-
October 1st, 2008, 11:50 AM
And while you all mess around... I am writing my new encoder. This is just a code portion that gets the frequencies from the data, you could do this yourself.
/// (C) 2008 James Schumacher -...
-
October 1st, 2008, 10:11 AM
-
September 30th, 2008, 04:09 PM
Well, of course.
Everyone makes mistakes, you don't know me, I actually say that all the time.
Anyways, as far as the REDUCER goes, I know it's working, and the reason I know it's working is...
-
September 30th, 2008, 02:11 PM
Actually, do you know what the problem was?
I found it, it was because I was forgetting to add hashes in my reducer's dictionary. DOH.
This is relating to my post in the algorithms and data...
|
Click Here to Expand Forum to Full Width
|