Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1681)

Unified Diff: courgette/third_party/divsufsort/README.chromium

Issue 2156223002: [Courgette] Add third party-library: libdivsufsort. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo in README.chromium: LICEN*S*E. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « courgette/third_party/divsufsort/LICENSE ('k') | courgette/third_party/divsufsort/divsufsort.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/divsufsort/README.chromium
diff --git a/courgette/third_party/divsufsort/README.chromium b/courgette/third_party/divsufsort/README.chromium
new file mode 100644
index 0000000000000000000000000000000000000000..0c99c057cf022bad11e481f531a0206230e8bb95
--- /dev/null
+++ b/courgette/third_party/divsufsort/README.chromium
@@ -0,0 +1,34 @@
+Name: divsufsort
+URL: https://github.com/y-256/libdivsufsort
+Date: 2016-06-01
+Security Critical: no
+License: MIT
+License File: LICENSE
+
+Description:
+This directory contains a modified version of Yuta Mori's libdivsufsort,
+available in its original form from:
+
+ https://github.com/y-256/libdivsufsort
+
+The copy in this directory is so extensively modified that the binary format is
+incompatible with the original and it cannot be compiled outside the Chromium
+source tree or the Courgette project.
+
+List of changes made to original code:
+ - Flattened directory and renamed .c files to .cc files.
+ - Extracted top-of-file license to common file LICENCE.
+ - Removed unused features, e.g., Burrows-Wheeler transformation.
+ - Removed Open EMP usage.
+ - Changed static functions to anonymous namespace functions.
+ - Moved various #define's from divsufsort_private.h to files that use them.
+ - Adapted code to enable PagedArray usage, to reduce effect of memory
+ fragmentation:
+ - Classified saidx_t* to {saidx_t*, saidx_it, const_saidx_it}.
+ - Extracted ss_compare_internal() from ss_compare(), to break awkward usage
+ of local array at end of sssort().
+ - Defined saidx_it and const_saidx_it to use PagedArray iterators. To
+ restore old behavior, we can define DIVSUFSORT_NO_PAGED_ARRAY.
+ - Added namespace divsuf.
+ - Added divsufsort_with_empty().
+ - Added unit tests.
« no previous file with comments | « courgette/third_party/divsufsort/LICENSE ('k') | courgette/third_party/divsufsort/divsufsort.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698