Menu

Code completion hang

Praphan
2007-04-24
2013-03-15
  • Praphan

    Praphan - 2007-04-24

    The situation occurs when I key the below code :

    result = re.search(r'^(\w+),txt)
    result.group()

    The editor will hang for 30 seconds before I can continue key, look like it look up re suggestion.

    I use
    - Pydev 1.3.2 extension.
    - eclipse version 3.2.2
    - Sun jdk 1.5.0_09

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2007-04-24

      You mean at:

      case 1:
      import re
      result = re.search('foo')
      result.|<-- request code-completion here

      or

      case 2:
      import re
      result = re.|<-- request here

      Case 2 has already been optimized (in the cvs, so, should be much faster for the next release). Case 1 takes 6 seconds in my computer, so, I'll take a look on how to optimize it too...

      Cheers,

      Fabio

       
    • Praphan

      Praphan - 2007-04-26

      Sorry late reply.
      I mean case 1, looking forward for the next release.
      Khob Khun (Thanks) for your work.

       
MongoDB Logo MongoDB