Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. regular expressions performance

regular expressions performance

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
performancequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yftah1989
    wrote on last edited by
    #1

    I'm creating a new program. The ONLY thing which is important for me is the running time of the program. Should I use a regular expressions, or maybe should I write my own search code?

    L C 2 Replies Last reply
    0
    • Y yftah1989

      I'm creating a new program. The ONLY thing which is important for me is the running time of the program. Should I use a regular expressions, or maybe should I write my own search code?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Stop spamming the forums. The answer is the same everywhere: the running time of the program will be much too long due to the repeated use of the same query expression.

      It's time for a new signature.

      1 Reply Last reply
      0
      • Y yftah1989

        I'm creating a new program. The ONLY thing which is important for me is the running time of the program. Should I use a regular expressions, or maybe should I write my own search code?

        C Offline
        C Offline
        CitrusTech
        wrote on last edited by
        #3

        If performance is truely the only thing which is important than write your own code. But really is that all that matters? I think your time is worth a lot more than that. Why not use the regexp tools you have and try it out. My betting is that it will be good enough. But who knows without anything else to go on?

        Data Quality Tools and Data Profiling software

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups