Click here to Skip to main content
16,015,166 members
Home / Discussions / C#
   

C#

 
GeneralRe: converting images Pin
vaMope1-Apr-02 7:41
vaMope1-Apr-02 7:41 
QuestionMemDC replacement? Pin
Zombies with Coffee, LLC29-Mar-02 4:14
professionalZombies with Coffee, LLC29-Mar-02 4:14 
AnswerRe: MemDC replacement? Pin
Zombies with Coffee, LLC29-Mar-02 4:25
professionalZombies with Coffee, LLC29-Mar-02 4:25 
GeneralSOAP serialization is too slow to accept Pin
29-Mar-02 1:52
suss29-Mar-02 1:52 
GeneralRe: SOAP serialization is too slow to accept Pin
Tim Smith29-Mar-02 2:18
Tim Smith29-Mar-02 2:18 
GeneralRe: SOAP serialization is too slow to accept Pin
29-Mar-02 2:58
suss29-Mar-02 2:58 
GeneralRe: SOAP serialization is too slow to accept Pin
Stan Shannon29-Mar-02 2:26
Stan Shannon29-Mar-02 2:26 
GeneralRe: SOAP serialization is too slow to accept Pin
James T. Johnson29-Mar-02 3:25
James T. Johnson29-Mar-02 3:25 
What you have is not SOAP, since SOAP is a specialized version of XML; but thats a minor detail.

What is happening is the .NET framework is creating a class at runtime to serialize the data. This is why after the first time you serialize the class there is a delay; it is creating and compiling code then caching it away.

If speed is that incredibly important search through the DOTNET mailing list archives and see if anyone had figured out how to keep that serializer class after the program has run. I remember some people working on it, they had gotten pretty far with it too. I do not remember when the discussion about it was, but I know it has been since early February.

Hope that gives you some idea what is going on Smile | :)

Just out of curiosity do you see the speed problem with the SOAP formatter? IIRC the SOAP formatter just uses reflection to generate the packet rather than creating a class at runtime.

James

Sonork ID: 100.11138 - Hasaki
"I left there in the morning
with their God tucked underneath my arm
their half-assed smiles and the book of rules.
So I asked this God a question
and by way of firm reply,
He said - I'm not the kind you have to wind up on Sundays."
"Wind Up" from Aqualung, Jethro Tull 1971

QuestionHow can i get the local time? Pin
29-Mar-02 0:18
suss29-Mar-02 0:18 
AnswerRe: How can i get the local time? Pin
Mazdak29-Mar-02 0:18
Mazdak29-Mar-02 0:18 
GeneralRe: How can i get the local time? Pin
29-Mar-02 1:57
suss29-Mar-02 1:57 
GeneralPrintPreview Dialog Pin
Mazdak29-Mar-02 0:01
Mazdak29-Mar-02 0:01 
GeneralRe: PrintPreview Dialog Pin
James T. Johnson29-Mar-02 21:24
James T. Johnson29-Mar-02 21:24 
GeneralRe: PrintPreview Dialog Pin
Mazdak29-Mar-02 22:35
Mazdak29-Mar-02 22:35 
GeneralRe: PrintPreview Dialog Pin
James T. Johnson29-Mar-02 22:46
James T. Johnson29-Mar-02 22:46 
GeneralRe: PrintPreview Dialog Pin
Mazdak29-Mar-02 23:52
Mazdak29-Mar-02 23:52 
GeneralRe: PrintPreview Dialog Pin
James T. Johnson30-Mar-02 9:37
James T. Johnson30-Mar-02 9:37 
GeneralRe: PrintPreview Dialog Pin
Mazdak30-Mar-02 19:08
Mazdak30-Mar-02 19:08 
QuestionHow to get a list of databases in .NET Pin
spbdenis28-Mar-02 10:27
spbdenis28-Mar-02 10:27 
AnswerRe: How to get a list of databases in .NET Pin
29-Mar-02 13:10
suss29-Mar-02 13:10 
GeneralFilter Dataview Pin
Mazdak27-Mar-02 22:21
Mazdak27-Mar-02 22:21 
GeneralRe: Filter Dataview Pin
James T. Johnson28-Mar-02 21:27
James T. Johnson28-Mar-02 21:27 
GeneralRe: Filter Dataview Pin
Mazdak28-Mar-02 21:31
Mazdak28-Mar-02 21:31 
GeneralRe: Filter Dataview Pin
James T. Johnson28-Mar-02 21:40
James T. Johnson28-Mar-02 21:40 
GeneralRe: Filter Dataview Pin
Mazdak28-Mar-02 22:17
Mazdak28-Mar-02 22:17 

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.