Comments (5)
This is why I hate Dart. Code that works one month, doesn't work the next month. APIs change, syntax changes, everything is in a constant state of flux.
I'll update the Dart port of the DMP library once again...
from diff-match-patch.
Dart is now working.
Leaving this issue open, since there are still two problems:
- The unit tests don't run since Dart's package rules have changed. If the code is hacked to bypass this, the unit tests all pass. But I need to find a different way to run tests on private methods.
- The dart2js speedtest just crashed from 1.6 seconds to 25 seconds. Don't know why, there are no changes in the library. The dart VM speedtest is unchanged.
from diff-match-patch.
Unit tests now run.
from diff-match-patch.
I notice that 'diff_match_patch 0.3.0' plugin is still working, so I use that.
I also think the 0.3.0's API is too simple for use, like no translator to HTML. But that's not a big problem.
Eventually Thank you for you fix : )
from diff-match-patch.
The dart2js speedtest can be brought down to 0.9 seconds with the -O4 command-line flag. Analysis showed that under the default options it was spending most of its time doing type checking.
Everything resolved. Closing issue.
from diff-match-patch.
Related Issues (20)
- AST differencing HOT 1
- Wiki/Documentation: Suggested function name should be diff_wordsToChars
- diff_cleanupSemantic cleans last newline incorrect HOT 4
- diff_cleanupSemantic cleans last newline incorrect HOT 1
- Non-minimal diff returned for some inputs HOT 2
- Get fomarting diff HOT 1
- Ignore Whitespace in DiffMatchPatch HOT 3
- diff_main cost 98.6% cpu HOT 1
- Why we have not considered Line Endings for Different OS(Linux, Windows, MacOS) HOT 1
- Diff.ToString() throws a NullReferenceException
- Diff.GetHashCode() throws a NullReferenceException
- Issue: Code breaking when there is no change in a line HOT 5
- Diff is calculating very wrong results HOT 1
- Project abandoned / dead / maintained? HOT 8
- Sim locked to carrier network
- Diff Calculating wrong results for certain cases HOT 3
- Fails to add newline after patch, fails to remove last character that needs to be removed HOT 5
- Difficult to set up efficiently with diff_main!! HOT 2
- Patch margin index splits Unicode surrogate pairs unexpectedly HOT 5
- Trying to use this in .NET 481
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-match-patch.