lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] [50/54] [abbrv] git commit: refs/heads/sortex_ptr_only - Purge some obsolete code from SortExternal.
Date Sat, 26 Apr 2014 23:12:20 GMT
Purge some obsolete code from SortExternal.


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/79f4ca56
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/79f4ca56
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/79f4ca56

Branch: refs/heads/sortex_ptr_only
Commit: 79f4ca56a4509cece13bdd241685cc8bd2ef425d
Parents: 7677ad4
Author: Marvin Humphrey <marvin@rectangular.com>
Authored: Tue Jan 8 18:12:09 2013 -0800
Committer: Marvin Humphrey <marvin@rectangular.com>
Committed: Sat Apr 26 14:17:18 2014 -0700

----------------------------------------------------------------------
 core/Lucy/Util/SortExternal.cfh          | 11 -----------
 perl/buildlib/Lucy/Build/Binding/Util.pm | 12 ------------
 2 files changed, 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/79f4ca56/core/Lucy/Util/SortExternal.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Util/SortExternal.cfh b/core/Lucy/Util/SortExternal.cfh
index cfc0591..a813459 100644
--- a/core/Lucy/Util/SortExternal.cfh
+++ b/core/Lucy/Util/SortExternal.cfh
@@ -16,17 +16,6 @@
 
 parcel Lucy;
 
-__C__
-#include <stddef.h>
-#include "Clownfish/Obj.h"
-#include "Clownfish/Util/SortUtils.h"
-
-#define LUCY_SORTEX_DEFAULT_MEM_THRESHOLD 0x1000000
-#ifdef LUCY_USE_SHORT_NAMES
-  #define SORTEX_DEFAULT_MEM_THRESHOLD LUCY_SORTEX_DEFAULT_MEM_THRESHOLD
-#endif
-__END_C__
-
 /** Abstract external sorter.
  *
  * SortExternal objects are sort pools which allow you to sort large amounts

http://git-wip-us.apache.org/repos/asf/lucy/blob/79f4ca56/perl/buildlib/Lucy/Build/Binding/Util.pm
----------------------------------------------------------------------
diff --git a/perl/buildlib/Lucy/Build/Binding/Util.pm b/perl/buildlib/Lucy/Build/Binding/Util.pm
index 5bd6ed9..4ef7dbe 100644
--- a/perl/buildlib/Lucy/Build/Binding/Util.pm
+++ b/perl/buildlib/Lucy/Build/Binding/Util.pm
@@ -179,22 +179,10 @@ END_XS_CODE
 }
 
 sub bind_sortexternal {
-    my $xs_code = <<'END_XS_CODE';
-MODULE = Lucy    PACKAGE = Lucy::Util::SortExternal
-
-IV
-_DEFAULT_MEM_THRESHOLD()
-CODE:
-    RETVAL = LUCY_SORTEX_DEFAULT_MEM_THRESHOLD;
-OUTPUT: RETVAL
-END_XS_CODE
-
     my $binding = Clownfish::CFC::Binding::Perl::Class->new(
         parcel     => "Lucy",
         class_name => "Lucy::Util::SortExternal",
     );
-    $binding->append_xs($xs_code);
-
     Clownfish::CFC::Binding::Perl::Class->register($binding);
 }
 


Mime
View raw message