1. 16 Jun, 2001 3 commits
  2. 15 Jun, 2001 14 commits
  3. 14 Jun, 2001 11 commits
  4. 13 Jun, 2001 4 commits
    • Evan Simpson's avatar
      Make string expressions exception-aware. · 259d3487
      Evan Simpson authored
      259d3487
    • Shane Hathaway's avatar
      - Corrected issues with DateTime. · aa2e2e54
      Shane Hathaway authored
      - Optimized slightly.
      
      - Clarified by using more variable names.
      aa2e2e54
    • Fred Drake's avatar
      · 89de4892
      Fred Drake authored
      Add another optimization stage to detect longer sequences in the bytecode.
      89de4892
    • Fred Drake's avatar
      · bdcf6fb1
      Fred Drake authored
      New opcode:  rawtextBeginScope.  This is equivalent to:
      
      [endScope] rawtextColumn setPosition beginScope
      
      These two sequences are very common in some of the slowest test documents
      I've been using.
      bdcf6fb1
  5. 12 Jun, 2001 8 commits
    • Fred Drake's avatar
      · b9dfefca
      Fred Drake authored
      Lots more micro-optimization of the same sorts as we've been doing.
      b9dfefca
    • Fred Drake's avatar
      · 17f3bdbf
      Fred Drake authored
      Updated to reflect the re-ordering of scope boundaries and text chunks.
      17f3bdbf
    • Fred Drake's avatar
      · d81eb242
      Fred Drake authored
      New optimization of the instruction stream:  beginScope/endScope
      instructions are always pushed in front of text chunks; the affect of
      this is that many text chunks previously separated by scope boundaries
      are now joined together, causing fewer instructions to be generated.
      d81eb242
    • Fred Drake's avatar
      · fa31d627
      Fred Drake authored
      Do not call sys.exc_info() to initialize some locals we don't use.
      fa31d627
    • Fred Drake's avatar
      Some small optimizations: · 8bd69dca
      Fred Drake authored
      SafeMapping.has_get():
          Simplify in order to reduce the number of Python bytecodes.  There
          is no longer a branch, which isn't strictly necessary.
      
      Context.evaluateStructure(), .evaluateMacro():
          Since these methods are essentially synonyms for evaluate(), avoid
          the extra method lookup & call by simply making them aliases.
      
      Context.evaluate():
          Re-arrange the try/except/except to avoid some of the exception
          catching by moving part of the try clause into an else clause.
      8bd69dca
    • Chris McDonough's avatar
      When operating on raw strings which had DOS-style linefeeds (e.g. "\r\n"),... · 88f00992
      Chris McDonough authored
      When operating on raw strings which had DOS-style linefeeds (e.g. "\r\n"), StructuredText would neglect to strip the trailing garbage off the end of a paragraph.  Thus, the test for "examples" and other features that depended on the last characters in a paragraph to not be whitespace for proper operation were failing, causing problems mainly for people who use Windows to author STX content.  This is now fixed.
      88f00992
    • Evan Simpson's avatar
      Use Ken's wording for the upload paragraph, and look for the body in... · 66ea9597
      Evan Simpson authored
      Use Ken's wording for the upload paragraph, and look for the body in REQUEST.other before REQUEST.form, so that errors will show up.
      66ea9597
    • Fred Drake's avatar
      · 2feef0d3
      Fred Drake authored
      Small optimizations to get this a little more out of the way when profiling.
      2feef0d3