Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Robert McLeod Newsgroups: comp.lang.python.announce Subject: ANN: NumExpr 2.6.5 Date: Tue, 1 May 2018 13:31:41 -0700 Lines: 56 Approved: python-announce-list@python.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: news.uni-berlin.de SfNlE5dEDL7HrUTwVpKQfQ4kMXOTXYM6hF9mzqQqfkug== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'release,': 0.07; 'subject:ANN': 0.07; 'url-ip:162.242.198.235/32': 0.07; 'url- ip:162.242.198/24': 0.07; 'url-ip:162.242/16': 0.07; '330': 0.09; 'runtime': 0.09; 'everyone,': 0.12; 'thread': 0.12; 'url- ip:176/8': 0.13; 'python': 0.15; '(e.g.': 0.15; '2.6.4': 0.16; '64.': 0.16; 'alvaro': 0.16; 'downstream': 0.16; 'skip:` 30': 0.16; 'subject:2.6.5': 0.16; 'travis': 0.16; 'url-ip:176.31/16': 0.16; 'bug': 0.19; '8bit%:5': 0.21; 'changes': 0.22; 'fixed': 0.23; 'variable': 0.23; 'url:io': 0.24; 'module': 0.25; '(such': 0.25; 'ph.d.': 0.25; 'reduced': 0.25; 'skip:` 10': 0.25; 'import': 0.26; 'environment': 0.27; 'patch': 0.28; 'message- id:@mail.gmail.com': 0.29; 'raise': 0.31; 'to:no real name:2**1': 0.31; 'robert': 0.32; 'at:': 0.32; 'received:google.com': 0.32; 'deemed': 0.33; 'dropped': 0.33; 'url:readthedocs': 0.33; 'source': 0.34; 'compatible': 0.34; '(which': 0.34; 'especially': 0.34; 'test': 0.34; '8bit%:13': 0.35; 'jason': 0.35; 'primarily': 0.35; "skip:' 20": 0.36; 'still': 0.36; 'skip:` 20': 0.38; 'similar': 0.38; 'ben': 0.39; '8bit%:8': 0.39; 'operations': 0.40; 'thanks': 0.40; 'times': 0.61; 'through': 0.61; 'announcing': 0.62; 'sachs': 0.62; 'count': 0.63; 'default': 0.63; 'maximum': 0.63; 'removing': 0.66; 'power': 0.67; 'making': 0.67; 'skip:= 30': 0.67; 'lowered': 0.70; 'recursion.': 0.70; '3.-': 0.84; 'ms.': 0.84; 'ortega': 0.84; 'whereby': 0.84; 'lazy': 0.91; 'improvement': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Gn7+/lbbpMBfvH9xK72fAjnKWEEmA3bJt51r5UF37Nk=; b=CKii7ng73C3SKtEoFCkoI2FpphuRI4xj5mUf1tEZvJEs5C/SU7P/3Q03I7S2H5ujrx sOv23hDEfLVIBP+rGknWNkpIR+4YWyT1TxldS6hgwxfxe/M9TIePyW0YLuNcI/dPhHLu D92EQ6xlNmuQrhwMA/iAdObu1E7CkV4hBNJYk5I69Y54BmWQ9XiN0BLtydl/LnuMDlCR RoPJ5viDygsAC6s7W74K8J7hrlQ5yRT816FZj7cHs0QxfneWSAFp+g0Uw2PzgxJ2eU6f l393q5ujULCwAN541sQWrQWc+WHMBRP9Je+EijhDVVZ+WbmgOKXZdFis26qLOn55ASNv D49Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Gn7+/lbbpMBfvH9xK72fAjnKWEEmA3bJt51r5UF37Nk=; b=sG/oolpUmOEkyIojFrOfP5uB8P5qiRJVGftJJ3xR83dMizSDjr0aGP1angHqdfPeMz Ly0d5cwxVptfRYUkjWr83H0v9KGUDEzpgSPv9dUtsVLlxw07bKXeqlZbQD04BBg+job2 W/V/bmucMdBilu2WvP30I3idGrcspf6k1KZPy923plwhn0Ej2yHUhk25f2EqPqduhqdg x+515tT5bANWWyPKz1SQhA1/XDXX8GytUptKj0HsheDrmQZzWVILggB9nOrmZCf3K1/y nUDeg14/n5pSb3lDeHEhfkcRut6QzW8ImhpmprI1qwHJwW+HFt/JN5GspL2eNI8ZlOPU tVrQ== X-Gm-Message-State: ALQs6tCjoX+4tasDIukajaFFb0mfj6P3WPL0LpZsSTF4uiCJlJYF9Cvq +lL5A49HxY1e5NK51iFjk4S5gGbo2u4dRj90k78= X-Google-Smtp-Source: AB8JxZoQAaAv36+fOZlxgJUP/mFfe+P495ep8dfxVTd3ENXruXs4eHWqt3AIQWirxHI3INaeLFRFUp/0snWFByq3LoY= X-Received: by 10.55.146.68 with SMTP id u65mr1601303qkd.235.1525206701986; Tue, 01 May 2018 13:31:41 -0700 (PDT) X-Mailman-Approved-At: Wed, 02 May 2018 08:34:44 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com comp.lang.python.announce:2840 ========================== Announcing Numexpr 2.6.5 ========================== Hi everyone, This is primarily an incremental performance improvement release, especially with regards to improving import times of downstream packages (e.g. `pandas`, `tables`, `sympy`). Import times have been reduced from ~300 ms to ~100 ms through removing a `pkg_resources` import and making the `cpuinfo` import lazy. The maximum number of threads is now set at import-time, similar to `numba`, by setting an environment variable 'NUMEXPR_MAX_THREADS'. The runtime number of threads can still be reduced by calling `numexpr.set_num_threads(N)`. DEPRECATION WARNING: The variable `numexpr.is_cpu_amd_intel` has been set to a dummy value of `False`. This variable may be removed in the future. Project documentation is available at: http://numexpr.readthedocs.io/ Changes from 2.6.4 to 2.6.5 --------------------------- - The maximum thread count can now be set at import-time by setting the environment variable 'NUMEXPR_MAX_THREADS'. The default number of max threads was lowered from 4096 (which was deemed excessive) to 64. - A number of imports were removed (pkg_resources) or made lazy (cpuinfo) in order to speed load-times for downstream packages (such as `pandas`, `sympy`, and `tables`). Import time has dropped from about 330 ms to 90 ms. Thanks to Jason Sachs for pointing out the source of the slow-down. - Thanks to Alvaro Lopez Ortega for updates to benchmarks to be compatible with Python 3. - Travis and AppVeyor now fail if the test module fails or errors. - Thanks to Mahdi Ben Jelloul for a patch that removed a bug where constants in `where` calls would raise a ValueError. - Fixed a bug whereby all-constant power operations would lead to infinite recursion. -- Robert McLeod, Ph.D. robbmcleod@gmail.com robbmcleod@protonmail.com robert.mcleod@hitachi-hhtc.ca www.entropyreduction.al