summaryrefslogtreecommitdiff
path: root/docs/file-example-code
diff options
context:
space:
mode:
authorBert JW Regeer <bertjw@regeer.org>2016-09-29 01:46:16 -0600
committerBert JW Regeer <bertjw@regeer.org>2016-09-29 02:15:19 -0600
commitd902761d6b77a061d98939901729f3a3028b7a5e (patch)
tree7863ba782b60219ed9b3d6326d8d019fd8f78fee /docs/file-example-code
parent310477ff453011194275c7e897a48cacab95d0c6 (diff)
downloadwebob-bugfix/exc_performance.tar.gz
Move the _lazified class out of the lazify functionbugfix/exc_performance
Capturing the function, and returning a new object from a class that is defined within the capturing function seems to cause some sort of really pathological behavior that causes lazify() to take up a bunch of CPU time, especially when it is part of a hot code path. Thanks to Martijn Faassen for reporting! Closes #282
Diffstat (limited to 'docs/file-example-code')
0 files changed, 0 insertions, 0 deletions