Open GoogleCodeExporter opened 9 years ago
sorry, I used wrong test time area. It should be 127 milliseconds.
Original comment by liangyue...@gmail.com
on 14 Mar 2012 at 4:30
Could you try encapsulating the dictionary? Meaning: instead of serializing a
dictionary, serialize somethig that *has* a dictionary as a member; example:
[ProtoMember(1)]
public class Foo {
[ProtoMember(1)]
public Dictionary<your stuff here> Data {get;set;}
}
Does that improve things?
(sorry cant test myself - not at PC)
Original comment by marc.gravell
on 14 Mar 2012 at 4:33
Thank you very much, Marc. After wraped the dictionary, the warmup time is
270ms. I tested it many times.
Original comment by liangyue...@gmail.com
on 15 Mar 2012 at 10:05
Original issue reported on code.google.com by
liangyue...@gmail.com
on 14 Mar 2012 at 4:20