From owner-svn-ports-all@freebsd.org Mon Mar 5 09:36:30 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00E89F42ADD; Mon, 5 Mar 2018 09:36:30 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D6176FB91; Mon, 5 Mar 2018 09:36:29 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9058622215; Mon, 5 Mar 2018 09:36:29 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w259aTpP054107; Mon, 5 Mar 2018 09:36:29 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w259aTpm054104; Mon, 5 Mar 2018 09:36:29 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201803050936.w259aTpm054104@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Mon, 5 Mar 2018 09:36:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463636 - head/lang/seed7 X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: head/lang/seed7 X-SVN-Commit-Revision: 463636 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2018 09:36:30 -0000 Author: gahr Date: Mon Mar 5 09:36:29 2018 New Revision: 463636 URL: https://svnweb.freebsd.org/changeset/ports/463636 Log: lang/seed7: update to 05_20180304 20180304: - In fil_rtl.c and ut8_rlt.c the functions filLineRead, filWordRead, ut8LineRead and ut8WordRead have been improved to use getc_unlocked() instead of getc(). This way the performance of the functions has been improved by a factor of 2 (filLineRead has been measured with gcc and valgrind). - In listutl.c the performance of the function copy_list has been improved by 15% (measured with gcc and valgrind). - In getf.s7i the performance of the function readf has been improved by a factor of 4 (measured with gcc and valgrind). - The functions free_helem and free_hash in hshlib.c have been improved to stop searching for helems as soon as the last helem has been freed. This improves the performance free_hash by 36% (measured with gcc and valgrind). - In fil_rtl.c the function read_and_alloc_stri and filGets have been improved to have less usages of err_info and num_of_chars_read. - In soc_rtl.c the function receive_and_alloc_stri has been improved to have less usages of err_info and better logError messages. - In hsh_rtl.c and hshlib.c the function create_hash has been improved to use memset to initialize empty hash tables. - The functions bstCmp, genericCmp, ptrCmp, rflCmp and typCmp have been improved to use a result variable named signumValue. - Interpreter and compiler have been improved to support the actions ACT_ICONV1, ACT_ICONV3, INT_ICONV1, INT_ICONV3 and REF_HSHLENGTH. - The libraries integer.s7i, bin32.s7i, bin64.s7i, category.s7i and graph.s7i have been improved to use the new primitive actions. - The function boolean(), which converts a string to a boolean value, has been added to boolean.s7i. - The function char(), which converts a string to a char value, has been added to char.s7i. - The function float(), which converts a string to a float value, has been added to float.s7i. - The compiler has been improved to support the actions ACT_GEN and TYP_VARFUNC. - The compiler now uses the function process_call_by_name_expr to create code for loop conditions, loop bodies and other call by name parameters. - The functions process_match and process_inline_param have been added to the compiler. - The compiler has been improved to implement functions, which just call one of the special actions HSH_CONTAINS, HSH_EXCL, HSH_INCL, HSH_KEYS, SET_BASELIT, SET_CONV, SET_ELEM, SET_EXCL, SET_INCL, SET_NOT_ELEM, as inline functions. This allows optimizations for the types set of char and set of string. - The compiler has been improved to optimize the action HSH_CONTAINS, when the hash table is constant. - The compiler optimizations for the actions SET_ELEM and SET_NOT_ELEM have been improved. - A test, that checks for-loops over hash tables, has been added to chkhsh.sd7. Modified: head/lang/seed7/Makefile head/lang/seed7/distinfo head/lang/seed7/pkg-plist Modified: head/lang/seed7/Makefile ============================================================================== --- head/lang/seed7/Makefile Mon Mar 5 09:33:05 2018 (r463635) +++ head/lang/seed7/Makefile Mon Mar 5 09:36:29 2018 (r463636) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= seed7 -DISTVERSION= 05_20180107 +DISTVERSION= 05_20180304 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/ DISTNAME= ${PORTNAME}_${DISTVERSION} Modified: head/lang/seed7/distinfo ============================================================================== --- head/lang/seed7/distinfo Mon Mar 5 09:33:05 2018 (r463635) +++ head/lang/seed7/distinfo Mon Mar 5 09:36:29 2018 (r463636) @@ -1,3 +1,3 @@ -TIMESTAMP = 1515406547 -SHA256 (seed7_05_20180107.tgz) = 4fcd35bdab1f0178822dbe21a91cc10ae5b24cecd5e71b776882ccaffb97540c -SIZE (seed7_05_20180107.tgz) = 2780835 +TIMESTAMP = 1520239050 +SHA256 (seed7_05_20180304.tgz) = 142444dcce2c4060698d9afb35cda2558edc223d00879c3d07da8f77b2a26a51 +SIZE (seed7_05_20180304.tgz) = 2787759 Modified: head/lang/seed7/pkg-plist ============================================================================== --- head/lang/seed7/pkg-plist Mon Mar 5 09:33:05 2018 (r463635) +++ head/lang/seed7/pkg-plist Mon Mar 5 09:36:29 2018 (r463636) @@ -60,6 +60,7 @@ lib/seed7/lib/comp/fil_act.s7i lib/seed7/lib/comp/flt_act.s7i lib/seed7/lib/comp/gkb_act.s7i lib/seed7/lib/comp/hsh_act.s7i +lib/seed7/lib/comp/inline.s7i lib/seed7/lib/comp/int_act.s7i lib/seed7/lib/comp/itf_act.s7i lib/seed7/lib/comp/kbd_act.s7i