20 Commits

Author SHA1 Message Date
Kay Hayen
718ab60539 Bump copyright year 2025-04-28 11:04:36 +02:00
Kay Hayen
f34f8d0c63 Bump copyright year
* Also split copyright notices between the top and bottom,
  such that readability of just opened files is not harmed
  by license text.
2024-12-18 10:48:16 +01:00
Kay Hayen
909d41f02d Bump copyright year 2023-06-02 15:07:22 +02:00
John Vandenberg
5d15c7c704 Quality: Update and expand auto-formatting tools
* Update auto-formatting tools with newest isort and rstfmt.

* Also format of "tests/*/*.rst" and many test files.
2023-02-13 14:20:27 +01:00
Kay Hayen
4cfdd9f9c0 Bump copyright year 2022-05-23 10:28:11 +02:00
Kay Hayen
f2ac32ff48 Tests: Make sure construct tests can actually benefit from actual inplace 2021-03-13 11:28:34 +01:00
Kay Hayen
e43b72e087 Bump copyright year to 2021. 2021-01-22 09:58:00 +01:00
Kay Hayen
b2083575cf Bump copyright year to 2020. 2020-02-01 07:42:45 +01:00
Kay Hayen
47c99d377e Bump copyright year to 2019. 2019-01-24 16:28:13 +01:00
Kay Hayen
7b364e3df8 Optimization: Add in-place optimization for module variables too.
* These have a different reference count to consider for extending
  the value, pass this as an argument.

* This also splits unary and binary operation code generation which
  is overdue too.

* Avoids assigning back to module dict if the value didn't change.

* More work is needed for this to be actually effective for all
  helper kinds, and esp. for Python3 unicode.

* For some in-place operations, support for writing module variables
  has been added, including avoiding unnecessary write backs.
2018-10-03 10:30:51 +02:00
Kay Hayen
314f254ffe Tests: Improve construct tests for some operations examined. 2018-09-13 19:12:57 +02:00
Kay Hayen
3957ee8628 Updated copyright year to 2018. 2018-04-30 09:46:54 +02:00
Kay Hayen
44a556c364 Tests: Use more portable method to loop in construct tests. 2017-07-01 09:23:01 +02:00
Kay Hayen
064df32ff0 Updated copyright year to 2017. 2017-01-09 07:25:38 +01:00
Kay Hayen
01079237bb Tests: Minor cleanups to construct tests.
* Was referencing wrong variable names

* Removing unused global variables
2016-08-17 20:38:36 +02:00
Kay Hayen
72ac16cfd9 Updated copyright year to 2016 2016-01-04 09:34:48 +01:00
Kay Hayen
995859875c Tests: Minor updates 2015-12-18 07:14:58 +01:00
Kay Hayen
ac947a9baa Tests: Minor cleanups
* Applied autoformat to more tests.
2015-08-24 23:03:34 +02:00
Kay Hayen
cc53465dcb Optimization: Handle in-place operations efficiently for strings and integers
* For Python2, in-place operations for integers got special cases, like
  they are for CPython. This preserves the Nuitka speedup.

* For strings that are not used elsewhere, the string is expanded in the
  old storage location, which makes things much faster for large strings.

* Currently only local variables are handled this way. More kinds of
  storage, global variables, attributes, etc. are to follow.

* This fixes part of Issue#124.
2015-03-01 10:08:36 +01:00
Kay Hayen
a852de81af Tests: Add construct test for known bad inplace string operations. 2015-03-01 10:08:35 +01:00