Comments (16)
I think we can abandon base older than 4.8.0.0. If someone complains I'll welcome a PR with ifdefs.
from diff.
Have you noticed any slowness in the diff function? I may have seen this when running in the browser via ghcjs.
from diff.
Have you noticed any slowness in the diff function? I may have seen this when running in the browser via ghcjs.
We're only using the getGroupedDiff
function (on GHC 8.8.4 targeting x86) and it's only used as part of tests.
I haven't noticed it being particularly slow, but that said these tests are not something that we've profiled, as they're fast enough.
from diff.
I can do the CPP.
from diff.
@ddssff did you test it with GHC 9.6? I suspect instance Functor
is missing.
from diff.
I don't have access to ghc-9.6. Stuck on 8.10.
from diff.
Sorry, I’m AFK until the next week. If you wish, once back home, I can generate a GitHub Actions CI setup with haskell-ci
covering a range of GHCs up to 9.6.
from diff.
@ddssff could you possibly make a release some time soon?
from diff.
Hackage upload? Will do.
from diff.
Yes, please.
from diff.
Does O(ND) in the title refer to time or space complexity?
from diff.
Time is O(ND) and space is O(D^2).
I'm not sure "O(ND)" is terribly helpful as a top-level package description without explaining what D refers to. It might be helpful to bring Cabal "description:" field in line with the module header:
Lines 3 to 4 in 026aef2
Diff/src/Data/Algorithm/Diff.hs
Lines 10 to 14 in 026aef2
from diff.
How about this:
synopsis: Diff algorithm in pure Haskell
description: Implementation of the standard diff algorithm, and utilities for pretty printing. Time complexity is proportional to N (input length) & D (number of differences). Space complexity is D^2.
from diff.
Thanks for a quick turnaround with a release, really much appreciated.
How about this:
Looks great! And today I learned that one can edit package description via revision :)
from diff.
from diff.
I'm thinking of removing 'getContextDiffOld' - I can't see how it could be useful to anyone.
Makes sense to me.
from diff.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diff.