|
-
Jan 17th, 2007, 02:52 AM
#4
PowerPoster
Re: more optimising
 Originally Posted by n1ghtowl
leinad31- thanks for the reply. my understanding of why it is using 4 digits wide is when you muliply a 4 digit number (16 bit)by a 4 digit number (16 bit)you may get up to an 8 digit number(32bit).
Largest 4-digit number is 9999 which multiplies to 99980001, so you're right there...however, 9999 isn't a 16-bit number *exactly*, as 65536 is 16 bit, 32768 is 15 bit, 16384 is 14 bit (which is where 9999 fits in as the next one is 8192 which is lower than the value)...if 9999 is 14 bit then 99980001 is either 27 bit or 28 bit.
Not that that is an important point to make...if you're planning to include compression of the values within the program though, this would make a lot of difference (I'd assume you're not, it's not the frontmost thought in most people's minds and unless you're working with many millions of numbers it's not worth doing)
(note, the bit levels are from memory, so I can't guarantee they're right :-))
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|