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. ASP.NET
  4. text diff

text diff

Scheduled Pinned Locked Moved ASP.NET
algorithmsquestion
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.
  • M Offline
    M Offline
    m khansari
    wrote on last edited by
    #1

    hi I want to implement data versioning in a application... I need a Delta(diff) algorithm component. I nedd a text diff class library. where can I find it? thanks.

    Mohammad Khansari

    C J 2 Replies Last reply
    0
    • M m khansari

      hi I want to implement data versioning in a application... I need a Delta(diff) algorithm component. I nedd a text diff class library. where can I find it? thanks.

      Mohammad Khansari

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Google ?

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • M m khansari

        hi I want to implement data versioning in a application... I need a Delta(diff) algorithm component. I nedd a text diff class library. where can I find it? thanks.

        Mohammad Khansari

        J Offline
        J Offline
        jabdal
        wrote on last edited by
        #3

        For word-by-word diff I like to use the SequenceMatcher class in CPython. It has a method get_opcodes which is helpful. I was able to call get_opcodes in C# using IronPython (uses 5 .py files). I store the PythonEngine in session since the ctor is expensive.

        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