diff options
author | Andrew Clement <aclement@vmware.com> | 2025-03-25 16:38:34 -0700 |
---|---|---|
committer | Andrew Clement <aclement@vmware.com> | 2025-03-25 16:38:34 -0700 |
commit | fc46e12f52fabad64e91041d37bfb0dc43333eb0 (patch) | |
tree | 40cfefe46823cfda029398fbcb9fd8e72498d7c6 /docs/teaching/exercises/scripts/setpaths.bat | |
parent | b9e22803ad2772a704547aa46f45eeb1cd66c3ef (diff) | |
download | aspectj-master.tar.gz aspectj-master.zip |
Fixes #323: UnresolvedType#getDimensions uses uncompiled regex, resulting in 97% of memory allocated in Pattern.compileHEADmaster
I say 'fixes' but all I did was use a different implementation. I don't have
a testcase that gives the memory problem but the new implementation
doesn't use Pattern so it can't give the same behaviour.
Perhaps Pattern matching is better for some situation I'm unaware of but
my microbenchmarks on this approach seem to suggest it is much faster and
the tests all seem to pass.
Fixes #323
Diffstat (limited to 'docs/teaching/exercises/scripts/setpaths.bat')
0 files changed, 0 insertions, 0 deletions