Slide 1Hash Key to address transformation Division remainder method Hash(key)= key mod tablesize Random number generation Folding method Digit or Character extraction String…
Slide 1Writing specifications for object-oriented programs K. Rustan M. Leino Microsoft Research, Redmond, WA, USA 21 Jan 2005 Invited talk, AIOOL 2005 Paris, France joint…
1. Understanding greenlet Saúl Ibarra Corretgé - @saghul Amsterdam Python Meetup Group 2. Quick check Gevent or Eventlet, anyone? Who knows what greenlet is? Who has used…
Slide 1 Recap from last time Saw several examples of optimizations –Constant folding –Constant Prop –Copy Prop –Common Sub-expression Elim –Partial Redundancy Elim…
Slide 1 Chapter 2 Slide 2 C++ Class A class name Data members Member functions Levels of program access –Public: section of a class can be accessed by anyone –Private:…
Slide 1 Administrative info Subscribe to the class mailing list –instructions are on the class web page, which is accessible from my home page, which is accessible by searching…
Slide 1 Another example p := &x; *p := 5 y := x + 1; Slide 2 Another example p := &x; *p := 5 y := x + 1; x := 5; *p := 3 y := x + 1; ??? Slide 3 Another example…