aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-01-06 12:56:59 +0000
committermerakor <cem@ckyln.com>2021-01-06 12:56:59 +0000
commiteaac8627f197aa0d621b0962000c0709687cb303 (patch)
treeca943d5ed0c69f396871bb93c9db5eaf9e98cb5b
parent662a9bfee577c8a65b80bc5dd617c22f0d142108 (diff)
downloadcpt-eaac8627f197aa0d621b0962000c0709687cb303.tar.gz
README: branch update
FossilOrigin-Name: 21f4fd2a28e8c68b2c8a4d5f39bc018676364e65f308dec60263bafa51a8dd75
-rw-r--r--README14
1 files changed, 14 insertions, 0 deletions
diff --git a/README b/README
index c1021ad..cd7f511 100644
--- a/README
+++ b/README
@@ -1,3 +1,17 @@
+BRANCH: experiment/lazyload
+This branch was an experiment for lazy loading the package library. It generated
+function autoloads from the cpt-* files on the lib/ directory and loaded the
+libraries of the functions when they were called. I tested this out, because I
+assumed that the result would be an increase of speed, but it turned out that
+the answer was quite the contrary.
+
+Using the master branch (757d256), running `cpt l` takes 33 seconds.
+Using this branch, it takes 37 seconds.
+
+Even though, this currently slows the operation, I would love to revisit this
+branch someday if I come up with a better idea for lazyloading functions. At the
+current stage, this branch doesn't improve speed at all.
+
____ ____ _____
/ ___| _ \_ _|
| | | |_) || |