An error occurred fetching the project authors.
  1. 16 Jul, 2008 1 commit
  2. 19 Jun, 2008 3 commits
  3. 18 Jun, 2008 1 commit
  4. 12 Jun, 2008 1 commit
  5. 30 May, 2008 1 commit
  6. 29 May, 2008 1 commit
  7. 16 May, 2008 1 commit
  8. 07 Jun, 2008 1 commit
  9. 23 Mar, 2008 1 commit
  10. 23 Feb, 2008 1 commit
  11. 07 Feb, 2008 2 commits
  12. 06 Feb, 2008 1 commit
  13. 01 Feb, 2008 1 commit
  14. 17 Jan, 2008 1 commit
  15. 01 Nov, 2007 1 commit
  16. 21 Oct, 2007 1 commit
  17. 18 Oct, 2007 1 commit
  18. 17 Oct, 2007 1 commit
  19. 15 Oct, 2007 1 commit
  20. 11 Oct, 2007 2 commits
  21. 19 Sep, 2007 1 commit
  22. 10 Sep, 2007 2 commits
  23. 28 Jul, 2007 1 commit
  24. 11 Jul, 2007 1 commit
  25. 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
  26. 20 Oct, 2006 1 commit