Updated: 10/13/2003; 9:22:01 PM.
John Lambert
First we show up, then we see what happens.
        

Sunday, June 29, 2003

What's Wrong with the MetaWeblog API? [Dare Obasanjo aka Carnage4Life]

I'm having trouble understanding all this ECHO/Pie/RSS business... Once again, Dare's clearing things up...


8:57:47 PM    comment []  



Random notes from "app-building":

  • the CLR Allocation Profiler is HOT
  • changing tr.ReadLine() to tr.Read(buffer, 0, width) against a char[] buffer really decreased my allocs by almost two orders of magnitude... once I fixed the issues with leading/trailing whitespace
  • enum Foo will default to enum Foo: int32... when I had new Foo[1024, 768], it took up a lot way, way more memory than when I made it enum Foo: byte
  • using the BinaryFormatter to save recovery information (ie, best solutions so far) was very helpful & easy
  • struct vs class can help/hurt but it's hard to guess which way
  • the IL for SomeEnum Lookup(string s) { switch (s) { case "foo": return SomeEnum.X; ... } } is interesting once optimized

2:01:13 PM    comment []  


Wow, Dave took Scripting News down. [The Scobleizer Weblog]


1:33:35 PM    comment []  


Woo-hoo! I got a solution for the ICFP 2003 problem... Of course, it's totally sub-optimal, but I doubted I could even do it...

1532 lines of C#...


5:07:22 AM    comment []  


© Copyright 2003 John Lambert jlambert@jlambert.com A really bad webcam picture of me.

 
June 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
May   Jul


Click here to visit the Radio UserLand website.

Subscribe to "John Lambert" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.