diff --git a/aio.html b/aio.html index 6c92a9a..8d634a2 100644 --- a/aio.html +++ b/aio.html @@ -755,7 +755,7 @@
If you are unable to install line_profiler
via
pip
on MacOS. Instead it can be installed via
@@ -1913,7 +1913,7 @@
If you chose to profile the whole code, it may look like this:
First the function must be decorated
The amount the internal array grows by is dependent on the particular
list implementation’s growth factor. CPython for example uses newsize + (newsize >> 3) + 6
,
which works out to an over allocation of roughly ~12.5%.
Constructing a set by passing in a single list is the clear winner.
diff --git a/instructor/aio.html b/instructor/aio.html index 421a9f9..ccdf437 100644 --- a/instructor/aio.html +++ b/instructor/aio.html @@ -556,7 +556,7 @@The bottlenecked implementation was naively parsing a 10MB JSON file to create a list of unique items.
@@ -785,7 +785,7 @@If you are unable to install line_profiler
via
pip
on MacOS. Instead it can be installed via
@@ -2030,7 +2030,7 @@
If you chose to profile the whole code, it may look like this:
Download the pre-generated line_profiler
output, this
can be opened be to save waiting for the profiler.
First the function must be decorated
The important information for students to learn within this episode are the patterns demonstrated via the benchmarks.
@@ -2749,7 +2749,7 @@The amount the internal array grows by is dependent on the particular
list implementation’s growth factor. CPython for example uses newsize + (newsize >> 3) + 6
,
which works out to an over allocation of roughly ~12.5%.
Constructing a set by passing in a single list is the clear winner.
diff --git a/instructor/optimisation-data-structures-algorithms.html b/instructor/optimisation-data-structures-algorithms.html index 8a3e61d..a008701 100644 --- a/instructor/optimisation-data-structures-algorithms.html +++ b/instructor/optimisation-data-structures-algorithms.html @@ -434,7 +434,7 @@The important information for students to learn within this episode are the patterns demonstrated via the benchmarks.
@@ -479,7 +479,7 @@The amount the internal array grows by is dependent on the particular
list implementation’s growth factor. CPython for example uses newsize + (newsize >> 3) + 6
,
which works out to an over allocation of roughly ~12.5%.
uniqueSet()
passes the input list to the constructor
@@ -748,7 +748,7 @@ Constructing a set by passing in a single list is the clear winner.
diff --git a/instructor/optimisation-introduction.html b/instructor/optimisation-introduction.html index d180c35..2d7accd 100644 --- a/instructor/optimisation-introduction.html +++ b/instructor/optimisation-introduction.html @@ -547,7 +547,7 @@The bottlenecked implementation was naively parsing a 10MB JSON file to create a list of unique items.
@@ -703,7 +703,7 @@If you are unable to install line_profiler
via
pip
on MacOS. Instead it can be installed via
@@ -802,7 +802,7 @@
@profile
@@ -820,7 +820,7 @@ If you chose to profile the whole code, it may look like this:
Download the pre-generated line_profiler
output, this
can be opened be to save waiting for the profiler.
@profile
@@ -978,7 +978,7 @@ First the function must be decorated
The amount the internal array grows by is dependent on the particular
list implementation’s growth factor. CPython for example uses newsize + (newsize >> 3) + 6
,
which works out to an over allocation of roughly ~12.5%.
uniqueSet()
passes the input list to the constructor
@@ -729,7 +729,7 @@ Constructing a set by passing in a single list is the clear winner.
diff --git a/pkgdown.yml b/pkgdown.yml index 4ea03ab..827675d 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,4 +2,4 @@ pandoc: 3.1.11 pkgdown: 2.1.1 pkgdown_sha: ~ articles: {} -last_built: 2025-01-11T18:09Z +last_built: 2025-01-11T18:11Z diff --git a/profiling-introduction.html b/profiling-introduction.html index 3f5e3e8..6202ca7 100644 --- a/profiling-introduction.html +++ b/profiling-introduction.html @@ -678,7 +678,7 @@If you are unable to install line_profiler
via
pip
on MacOS. Instead it can be installed via
@@ -800,7 +800,7 @@
@profile
@@ -818,7 +818,7 @@ If you chose to profile the whole code, it may look like this:
@profile
@@ -958,7 +958,7 @@ First the function must be decorated