Updated Branches: refs/heads/sortex_ptr_only 8640ab5f6 -> 22d40ec05
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/22d40ec0 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/22d40ec0 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/22d40ec0 Branch: refs/heads/sortex_ptr_only Commit: 22d40ec0506058e5d6824c4c4115c539fb96428f Parents: 522a9f4 Author: Marvin Humphrey <[email protected]> Authored: Tue Jan 8 18:12:09 2013 -0800 Committer: Marvin Humphrey <[email protected]> Committed: Tue Jan 8 18:12:09 2013 -0800 ---------------------------------------------------------------------- core/Lucy/Util/SortExternal.cfh | 11 ----------- perl/buildlib/Lucy/Build/Binding/Util.pm | 12 ------------ 2 files changed, 0 insertions(+), 23 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/22d40ec0/core/Lucy/Util/SortExternal.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Util/SortExternal.cfh b/core/Lucy/Util/SortExternal.cfh index d04f7e4..1288f2e 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/22d40ec0/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 6820869..fda48a9 100644 --- a/perl/buildlib/Lucy/Build/Binding/Util.pm +++ b/perl/buildlib/Lucy/Build/Binding/Util.pm @@ -159,22 +159,10 @@ sub bind_priorityqueue { } 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); }
