Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BD8C92009D9 for ; Thu, 19 May 2016 21:20:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BAD3F160A05; Thu, 19 May 2016 19:20:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 087BC1609AE for ; Thu, 19 May 2016 21:20:13 +0200 (CEST) Received: (qmail 72587 invoked by uid 500); 19 May 2016 19:20:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 72567 invoked by uid 99); 19 May 2016 19:20:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 19:20:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DE8142C1F5C for ; Thu, 19 May 2016 19:20:12 +0000 (UTC) Date: Thu, 19 May 2016 19:20:12 +0000 (UTC) From: "Pascal Schumacher (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LANG-1234) getLevenshteinDistance with a threshold: optimize implementation if the strings lengths differ more than the threshold MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 May 2016 19:20:14 -0000 Pascal Schumacher created LANG-1234: --------------------------------------- Summary: getLevenshteinDistance with a threshold: optimize implementation if the strings lengths differ more than the threshold Key: LANG-1234 URL: https://issues.apache.org/jira/browse/LANG-1234 Project: Commons Lang Issue Type: Improvement Components: lang.* Affects Versions: 3.4 Reporter: Pascal Schumacher If the string lengths differ more than the threshold, there's no need for the algorithm to begin allocating arrays etc. Pull request: [https://github.com/apache/commons-lang/pull/118] -- This message was sent by Atlassian JIRA (v6.3.4#6332)