| Sat, 18 Dec 2021 18:36:50 +0100 |
Franz Glasner |
FIX: Convert a list ito a tuple before appending it to another tuple
|
| Sat, 18 Dec 2021 11:20:41 +0100 |
Franz Glasner |
More detailed quoting/unquoting performance: with and without outer split
|
| Sat, 18 Dec 2021 11:19:51 +0100 |
Franz Glasner |
Docs
|
| Sat, 18 Dec 2021 11:06:34 +0100 |
Franz Glasner |
Implement clear_cache() for the configuration
|
| Sat, 18 Dec 2021 02:36:30 +0100 |
Franz Glasner |
Measure quote/unquote performance
|
| Sat, 18 Dec 2021 02:35:42 +0100 |
Franz Glasner |
.lstrip() seems to be a little bit faster than .rstrip() when testing whether quoting is needed
|
| Sat, 18 Dec 2021 01:49:48 +0100 |
Franz Glasner |
Use generator comprehensions where possible instead of list comprehensions that are converted to tuples
|
| Sat, 18 Dec 2021 01:26:41 +0100 |
Franz Glasner |
Make quote() and unquote() module globals and also export from configmix
|
| Sat, 18 Dec 2021 01:26:13 +0100 |
Franz Glasner |
Another timing for interpolating a single string completely
|
| Sat, 18 Dec 2021 01:03:49 +0100 |
Franz Glasner |
"quote()" and "unquote()" are now static methods
|
| Sat, 18 Dec 2021 00:43:36 +0100 |
Franz Glasner |
Configuration._lookupvar() now uses an internal cache (positive and negative).
|
| Sat, 18 Dec 2021 00:00:36 +0100 |
Franz Glasner |
FIX: performance test script: make all args unicode
|
| Fri, 17 Dec 2021 23:53:38 +0100 |
Franz Glasner |
Optimize .substitute_variables_in_obj: use dict.items() to avoid one dict lookup
|
| Fri, 17 Dec 2021 23:53:11 +0100 |
Franz Glasner |
A script to measure some basic performance characteristics of configmix.
|
| Fri, 17 Dec 2021 19:34:38 +0100 |
Franz Glasner |
Performance: module-level variable lookup is much faster (similar to local) than class-level (either via CLASS.VARIABLE or self.VARIABLE).
|
| Fri, 17 Dec 2021 19:24:54 +0100 |
Franz Glasner |
Test-script for checking the costs of different variable lookup methods
|
| Fri, 17 Dec 2021 18:58:06 +0100 |
Franz Glasner |
Remove default (i.e. all keyword arguments) from .expand_if_reference() because no-one uses it
|
| Fri, 17 Dec 2021 17:38:17 +0100 |
Franz Glasner |
FIX: Tests when calling getfirstNNNl() and friends properly
|
| Fri, 17 Dec 2021 16:56:31 +0100 |
Franz Glasner |
Remove repeated type(obj) calls
|
| Fri, 17 Dec 2021 16:37:26 +0100 |
Franz Glasner |
Reorder type comparisons by usage
|
| Fri, 17 Dec 2021 16:28:09 +0100 |
Franz Glasner |
Remove unused keyword params for ._lookupvar().
|
| Fri, 17 Dec 2021 16:17:17 +0100 |
Franz Glasner |
Simplify logic by not using many negations
|
| Fri, 17 Dec 2021 16:06:49 +0100 |
Franz Glasner |
Instead of using u(str(v)) use specialized functions for PY2 and PY3
|
| Fri, 17 Dec 2021 15:56:53 +0100 |
Franz Glasner |
More unittests for interpolation
|
| Fri, 17 Dec 2021 15:56:33 +0100 |
Franz Glasner |
Use the new contant _EMPTY_STR where appropriate
|
| Fri, 17 Dec 2021 15:55:51 +0100 |
Franz Glasner |
Avoid repeaded string concatenations in .expand_variable(): use a list of string parts and proper indexes into the source string
|
| Fri, 17 Dec 2021 14:14:36 +0100 |
Franz Glasner |
Optimize .quote() by using str.translate() instead of repeatedly calling str.replace()
|
| Fri, 17 Dec 2021 13:53:25 +0100 |
Franz Glasner |
Remove unneeded __future__ import because we are on Python 2.6+
|
| Fri, 17 Dec 2021 13:12:19 +0100 |
Franz Glasner |
Use a quick-check for .quote() if no quoting is needed
|
| Fri, 17 Dec 2021 12:49:07 +0100 |
Franz Glasner |
Because we are Pytho 2.6+ remove some compatibility code for pre-Python 2.6
|