Click here to Skip to main content
15,915,509 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I optimize this code Pin
Luc Pattyn15-May-09 4:23
sitebuilderLuc Pattyn15-May-09 4:23 
GeneralRe: How can I optimize this code Pin
Nagy Vilmos15-May-09 4:27
professionalNagy Vilmos15-May-09 4:27 
GeneralRe: How can I optimize this code Pin
MumbleB15-May-09 23:28
MumbleB15-May-09 23:28 
GeneralRe: How can I optimize this code Pin
Luc Pattyn16-May-09 1:08
sitebuilderLuc Pattyn16-May-09 1:08 
GeneralRe: How can I optimize this code Pin
MumbleB16-May-09 5:55
MumbleB16-May-09 5:55 
GeneralRe: How can I optimize this code Pin
Luc Pattyn16-May-09 6:54
sitebuilderLuc Pattyn16-May-09 6:54 
GeneralRe: How can I optimize this code Pin
MumbleB17-May-09 22:32
MumbleB17-May-09 22:32 
GeneralRe: How can I optimize this code Pin
Luc Pattyn18-May-09 0:37
sitebuilderLuc Pattyn18-May-09 0:37 
It does not make any sense at all:

1.
you showed the following content of file1:
C0000000001 C0001000010
C0000000002 C0001000011
C0000000003 C0001000012

which is some 25 characters per line, times 2000 lines, equals 50KB (or 100KB when all in wide characters), not 289KB. With 289KB the average line length would be 140 bytes. Check its content!

2.
file2 holding 247KB for 80,000 lines results in some 30 characters per line, that sounds fine.

3.
the result file growing beyond 800MB is utter nonsense. For it to grow that large you would have to:
- either have 80,000 lines of 10,000 characters each (where are these coming from?)
- or have many more lines. How would you explain that?
Did you bother checking what is inside that file? is anything in there correct?

Now start looking at what you have, and stop making up stories. Unsure | :~

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: How can I optimize this code Pin
MumbleB18-May-09 7:11
MumbleB18-May-09 7:11 
GeneralRe: How can I optimize this code Pin
Luc Pattyn18-May-09 7:30
sitebuilderLuc Pattyn18-May-09 7:30 
GeneralRe: How can I optimize this code Pin
MumbleB18-May-09 20:17
MumbleB18-May-09 20:17 
AnswerRe: How can I optimize this code Pin
Henry Minute15-May-09 4:18
Henry Minute15-May-09 4:18 
QuestionWeb setup project fails in Windows vista and IIS7 Pin
Muhammad Sohaib Yousaf15-May-09 1:44
Muhammad Sohaib Yousaf15-May-09 1:44 
QuestionAccepting user input Pin
Rajdeep.NET is BACK15-May-09 1:15
Rajdeep.NET is BACK15-May-09 1:15 
AnswerRe: Accepting user input Pin
Pete O'Hanlon15-May-09 1:21
mvePete O'Hanlon15-May-09 1:21 
GeneralRe: Accepting user input Pin
Rajdeep.NET is BACK15-May-09 2:19
Rajdeep.NET is BACK15-May-09 2:19 
GeneralRe: Accepting user input Pin
Tom Deketelaere15-May-09 2:28
professionalTom Deketelaere15-May-09 2:28 
GeneralRe: Accepting user input Pin
Rajdeep.NET is BACK15-May-09 2:37
Rajdeep.NET is BACK15-May-09 2:37 
GeneralRe: Accepting user input Pin
Tom Deketelaere15-May-09 2:47
professionalTom Deketelaere15-May-09 2:47 
GeneralRe: Accepting user input Pin
Rajdeep.NET is BACK15-May-09 2:58
Rajdeep.NET is BACK15-May-09 2:58 
GeneralRe: Accepting user input Pin
tom57200715-May-09 3:18
tom57200715-May-09 3:18 
GeneralRe: Accepting user input Pin
Dave Kreskowiak15-May-09 2:37
mveDave Kreskowiak15-May-09 2:37 
GeneralRe: Accepting user input Pin
Pete O'Hanlon15-May-09 3:10
mvePete O'Hanlon15-May-09 3:10 
GeneralRe: Accepting user input Pin
Nagy Vilmos15-May-09 4:01
professionalNagy Vilmos15-May-09 4:01 
GeneralRe: Accepting user input Pin
Luc Pattyn15-May-09 4:10
sitebuilderLuc Pattyn15-May-09 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.