1. 18 Feb, 1998 3 commits
    • Barry Warsaw's avatar
      __modified(): Make sure `rgbs' is a tuple · 448bd5ce
      Barry Warsaw authored
      448bd5ce
    • Barry Warsaw's avatar
      Several optimizations: · 0026b139
      Barry Warsaw authored
          self.__chips now contains the list of rgbtuple values for the
          chips named i - 1 (Tkinter counts from 1, we count from zero).
          The chip number was just the index + 1.  This means color lookup
          need not do an itemcget(), it can just index into __chips.
      
          instead of calling __canvas.itemconfigure(), we glom up a huge Tcl
          script and call tk.eval() directly.  Actually we do many appends
          to a Python list, then string.join() them together into one huge
          string.  This reduces the overhead of Tkinter but making one fast
          call to Tcl.
      0026b139
    • Barry Warsaw's avatar
      Cache conversions from triplets to rrggbb's and vice versa. Wasteful · 40551925
      Barry Warsaw authored
      on space, but improves performance.  Also use map to calculate
      triplet_to_pmwrgb().
      40551925
  2. 17 Feb, 1998 18 commits
  3. 16 Feb, 1998 19 commits