An error occurred fetching the project authors.
  1. 30 Oct, 2007 1 commit
  2. 27 Oct, 2007 1 commit
  3. 24 Oct, 2007 2 commits
  4. 15 Oct, 2007 1 commit
  5. 05 Sep, 2007 1 commit
  6. 11 Jul, 2007 1 commit
  7. 10 Jul, 2007 1 commit
    • Robert Bradshaw's avatar
      gcc branch prediction · 4bce9494
      Robert Bradshaw authored
      For some reason, it actually makes it slower in some of the most common cases (now commented out). Why? It does help in others.
      4bce9494
  8. 14 Apr, 2007 1 commit
    • Robert Bradshaw's avatar
      Cache __builtin__ name lookups so they are performed on module load rather than at every use. · 6fd9a195
      Robert Bradshaw authored
      The code "__Pyx_GetName(__pyx_b, __pyx_n_[string])" is performed in several
      thousand places throughout the sage library, and can be quite expensive
      (a dictionary lookup, possibly raising an error, etc.) This is redundant
      as the result will always be the same. I perform the lookup once
      (on loading the module), then have a pointer to the result for all subsequent use.
      
      The most common examples are bool/str/int (both as function calls and
      in isinstance), True/False, and raisign errors.
      
      A side feature is that on loading a module with an illegal __builtin__ name,
      it will complain at load time rather than at run time.
      6fd9a195
  9. 25 Oct, 2006 1 commit
  10. 20 Oct, 2006 1 commit