From eaac8627f197aa0d621b0962000c0709687cb303 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 6 Jan 2021 12:56:59 +0000 Subject: README: branch update FossilOrigin-Name: 21f4fd2a28e8c68b2c8a4d5f39bc018676364e65f308dec60263bafa51a8dd75 --- README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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. + ____ ____ _____ / ___| _ \_ _| | | | |_) || | -- cgit v1.2.3