koffi 2.0.0 → 2.1.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/CMakeLists.txt +2 -9
  2. package/ChangeLog.md +25 -2
  3. package/benchmark/atoi_koffi.js +12 -8
  4. package/benchmark/atoi_napi.js +12 -8
  5. package/benchmark/atoi_node_ffi.js +11 -10
  6. package/benchmark/raylib_cc.cc +12 -9
  7. package/benchmark/raylib_koffi.js +15 -13
  8. package/benchmark/raylib_node_ffi.js +15 -13
  9. package/benchmark/raylib_node_raylib.js +14 -11
  10. package/build/qemu/2.1.0-beta.2/koffi_darwin_arm64.tar.gz +0 -0
  11. package/build/qemu/2.1.0-beta.2/koffi_darwin_x64.tar.gz +0 -0
  12. package/build/qemu/2.1.0-beta.2/koffi_freebsd_arm64.tar.gz +0 -0
  13. package/build/qemu/2.1.0-beta.2/koffi_freebsd_ia32.tar.gz +0 -0
  14. package/build/qemu/2.1.0-beta.2/koffi_freebsd_x64.tar.gz +0 -0
  15. package/build/qemu/2.1.0-beta.2/koffi_linux_arm32hf.tar.gz +0 -0
  16. package/build/qemu/2.1.0-beta.2/koffi_linux_arm64.tar.gz +0 -0
  17. package/build/qemu/2.1.0-beta.2/koffi_linux_ia32.tar.gz +0 -0
  18. package/build/qemu/2.1.0-beta.2/koffi_linux_riscv64hf64.tar.gz +0 -0
  19. package/build/qemu/2.1.0-beta.2/koffi_linux_x64.tar.gz +0 -0
  20. package/build/qemu/2.1.0-beta.2/koffi_openbsd_ia32.tar.gz +0 -0
  21. package/build/qemu/2.1.0-beta.2/koffi_openbsd_x64.tar.gz +0 -0
  22. package/build/qemu/2.1.0-beta.2/koffi_win32_arm64.tar.gz +0 -0
  23. package/build/qemu/2.1.0-beta.2/koffi_win32_ia32.tar.gz +0 -0
  24. package/build/qemu/2.1.0-beta.2/koffi_win32_x64.tar.gz +0 -0
  25. package/doc/benchmarks.md +2 -2
  26. package/doc/changes.md +23 -19
  27. package/doc/conf.py +14 -1
  28. package/doc/dist/doctrees/benchmarks.doctree +0 -0
  29. package/doc/dist/doctrees/changes.doctree +0 -0
  30. package/doc/dist/doctrees/environment.pickle +0 -0
  31. package/doc/dist/doctrees/functions.doctree +0 -0
  32. package/doc/dist/doctrees/index.doctree +0 -0
  33. package/doc/dist/doctrees/types.doctree +0 -0
  34. package/doc/functions.md +76 -10
  35. package/doc/templates/badges.html +4 -0
  36. package/doc/types.md +157 -161
  37. package/package.json +2 -2
  38. package/qemu/qemu.js +1 -1
  39. package/src/abi_arm32.cc +167 -3
  40. package/src/abi_arm64.cc +196 -3
  41. package/src/abi_riscv64.cc +107 -3
  42. package/src/abi_x64_sysv.cc +114 -4
  43. package/src/abi_x64_win.cc +113 -3
  44. package/src/abi_x86.cc +156 -5
  45. package/src/call.cc +241 -26
  46. package/src/call.hh +15 -3
  47. package/src/ffi.cc +123 -34
  48. package/src/ffi.hh +19 -0
  49. package/src/index.js +4 -2
  50. package/src/parser.cc +3 -5
  51. package/src/util.cc +44 -1
  52. package/src/util.hh +4 -0
  53. package/test/async.js +1 -2
  54. package/test/callbacks.js +2 -3
  55. package/test/misc.c +21 -1
  56. package/test/raylib.js +1 -1
  57. package/test/sqlite.js +7 -7
  58. package/test/sync.js +30 -4
  59. package/build/qemu/2.0.0/koffi_darwin_arm64.tar.gz +0 -0
  60. package/build/qemu/2.0.0/koffi_darwin_x64.tar.gz +0 -0
  61. package/build/qemu/2.0.0/koffi_freebsd_arm64.tar.gz +0 -0
  62. package/build/qemu/2.0.0/koffi_freebsd_ia32.tar.gz +0 -0
  63. package/build/qemu/2.0.0/koffi_freebsd_x64.tar.gz +0 -0
  64. package/build/qemu/2.0.0/koffi_linux_arm32hf.tar.gz +0 -0
  65. package/build/qemu/2.0.0/koffi_linux_arm64.tar.gz +0 -0
  66. package/build/qemu/2.0.0/koffi_linux_ia32.tar.gz +0 -0
  67. package/build/qemu/2.0.0/koffi_linux_riscv64hf64.tar.gz +0 -0
  68. package/build/qemu/2.0.0/koffi_linux_x64.tar.gz +0 -0
  69. package/build/qemu/2.0.0/koffi_openbsd_ia32.tar.gz +0 -0
  70. package/build/qemu/2.0.0/koffi_openbsd_x64.tar.gz +0 -0
  71. package/build/qemu/2.0.0/koffi_win32_arm64.tar.gz +0 -0
  72. package/build/qemu/2.0.0/koffi_win32_ia32.tar.gz +0 -0
  73. package/build/qemu/2.0.0/koffi_win32_x64.tar.gz +0 -0
  74. package/doc/dist/html/.buildinfo +0 -4
  75. package/doc/dist/html/_sources/benchmarks.md.txt +0 -137
  76. package/doc/dist/html/_sources/changes.md.txt +0 -157
  77. package/doc/dist/html/_sources/contribute.md.txt +0 -127
  78. package/doc/dist/html/_sources/functions.md.txt +0 -355
  79. package/doc/dist/html/_sources/index.rst.txt +0 -39
  80. package/doc/dist/html/_sources/memory.md.txt +0 -32
  81. package/doc/dist/html/_sources/platforms.md.txt +0 -31
  82. package/doc/dist/html/_sources/start.md.txt +0 -100
  83. package/doc/dist/html/_sources/types.md.txt +0 -545
  84. package/doc/dist/html/_static/_sphinx_javascript_frameworks_compat.js +0 -134
  85. package/doc/dist/html/_static/basic.css +0 -932
  86. package/doc/dist/html/_static/bench_linux.png +0 -0
  87. package/doc/dist/html/_static/bench_windows.png +0 -0
  88. package/doc/dist/html/_static/custom.css +0 -22
  89. package/doc/dist/html/_static/debug.css +0 -69
  90. package/doc/dist/html/_static/doctools.js +0 -264
  91. package/doc/dist/html/_static/documentation_options.js +0 -14
  92. package/doc/dist/html/_static/file.png +0 -0
  93. package/doc/dist/html/_static/jquery-3.6.0.js +0 -10881
  94. package/doc/dist/html/_static/jquery.js +0 -2
  95. package/doc/dist/html/_static/language_data.js +0 -199
  96. package/doc/dist/html/_static/minus.png +0 -0
  97. package/doc/dist/html/_static/perf_linux_20220623.png +0 -0
  98. package/doc/dist/html/_static/perf_linux_20220623_2.png +0 -0
  99. package/doc/dist/html/_static/perf_windows_20220623.png +0 -0
  100. package/doc/dist/html/_static/perf_windows_20220623_2.png +0 -0
  101. package/doc/dist/html/_static/plus.png +0 -0
  102. package/doc/dist/html/_static/pygments.css +0 -252
  103. package/doc/dist/html/_static/scripts/furo-extensions.js +0 -0
  104. package/doc/dist/html/_static/scripts/furo.js +0 -3
  105. package/doc/dist/html/_static/scripts/furo.js.LICENSE.txt +0 -7
  106. package/doc/dist/html/_static/scripts/furo.js.map +0 -1
  107. package/doc/dist/html/_static/searchtools.js +0 -531
  108. package/doc/dist/html/_static/skeleton.css +0 -296
  109. package/doc/dist/html/_static/styles/furo-extensions.css +0 -2
  110. package/doc/dist/html/_static/styles/furo-extensions.css.map +0 -1
  111. package/doc/dist/html/_static/styles/furo.css +0 -2
  112. package/doc/dist/html/_static/styles/furo.css.map +0 -1
  113. package/doc/dist/html/_static/underscore-1.13.1.js +0 -2042
  114. package/doc/dist/html/_static/underscore.js +0 -6
  115. package/doc/dist/html/benchmarks.html +0 -568
  116. package/doc/dist/html/changes.html +0 -653
  117. package/doc/dist/html/contribute.html +0 -400
  118. package/doc/dist/html/functions.html +0 -653
  119. package/doc/dist/html/genindex.html +0 -250
  120. package/doc/dist/html/index.html +0 -356
  121. package/doc/dist/html/memory.html +0 -343
  122. package/doc/dist/html/objects.inv +0 -0
  123. package/doc/dist/html/platforms.html +0 -368
  124. package/doc/dist/html/search.html +0 -258
  125. package/doc/dist/html/searchindex.js +0 -1
  126. package/doc/dist/html/start.html +0 -381
  127. package/doc/dist/html/types.html +0 -1044
@@ -1,343 +0,0 @@
1
- <!doctype html>
2
- <html class="no-js" lang="en">
3
- <head><meta charset="utf-8"/>
4
- <meta name="viewport" content="width=device-width,initial-scale=1"/>
5
- <meta name="color-scheme" content="light dark"><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
6
- <link rel="index" title="Index" href="genindex" /><link rel="search" title="Search" href="search" /><link rel="next" title="Benchmarks" href="benchmarks" /><link rel="prev" title="Functions" href="functions" />
7
-
8
- <meta name="generator" content="sphinx-5.0.1, furo 2022.06.04.1"/>
9
- <title>Memory usage - Koffi</title>
10
- <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
11
- <link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=40978830699223671f4072448e654b5958f38b89" />
12
- <link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?digest=30d1aed668e5c3a91c3e3bf6a60b675221979f0e" />
13
- <link rel="stylesheet" type="text/css" href="_static/custom.css" />
14
-
15
-
16
-
17
-
18
- <style>
19
- body {
20
- --color-code-background: #f8f8f8;
21
- --color-code-foreground: black;
22
- --color-brand-primary: #FF6600;
23
- --color-brand-content: #FF6600;
24
-
25
- }
26
- @media not print {
27
- body[data-theme="dark"] {
28
- --color-code-background: #202020;
29
- --color-code-foreground: #d0d0d0;
30
- --color-brand-primary: #FF6600;
31
- --color-brand-content: #FF6600;
32
-
33
- }
34
- @media (prefers-color-scheme: dark) {
35
- body:not([data-theme="light"]) {
36
- --color-code-background: #202020;
37
- --color-code-foreground: #d0d0d0;
38
- --color-brand-primary: #FF6600;
39
- --color-brand-content: #FF6600;
40
-
41
- }
42
- }
43
- }
44
- </style></head>
45
- <body>
46
-
47
- <script>
48
- document.body.dataset.theme = localStorage.getItem("theme") || "auto";
49
- </script>
50
-
51
-
52
- <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
53
- <symbol id="svg-toc" viewBox="0 0 24 24">
54
- <title>Contents</title>
55
- <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024">
56
- <path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"/>
57
- </svg>
58
- </symbol>
59
- <symbol id="svg-menu" viewBox="0 0 24 24">
60
- <title>Menu</title>
61
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
62
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu">
63
- <line x1="3" y1="12" x2="21" y2="12"></line>
64
- <line x1="3" y1="6" x2="21" y2="6"></line>
65
- <line x1="3" y1="18" x2="21" y2="18"></line>
66
- </svg>
67
- </symbol>
68
- <symbol id="svg-arrow-right" viewBox="0 0 24 24">
69
- <title>Expand</title>
70
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
71
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right">
72
- <polyline points="9 18 15 12 9 6"></polyline>
73
- </svg>
74
- </symbol>
75
- <symbol id="svg-sun" viewBox="0 0 24 24">
76
- <title>Light mode</title>
77
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
78
- stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="feather-sun">
79
- <circle cx="12" cy="12" r="5"></circle>
80
- <line x1="12" y1="1" x2="12" y2="3"></line>
81
- <line x1="12" y1="21" x2="12" y2="23"></line>
82
- <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
83
- <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
84
- <line x1="1" y1="12" x2="3" y2="12"></line>
85
- <line x1="21" y1="12" x2="23" y2="12"></line>
86
- <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
87
- <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
88
- </svg>
89
- </symbol>
90
- <symbol id="svg-moon" viewBox="0 0 24 24">
91
- <title>Dark mode</title>
92
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
93
- stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon">
94
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
95
- <path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
96
- </svg>
97
- </symbol>
98
- <symbol id="svg-sun-half" viewBox="0 0 24 24">
99
- <title>Auto light/dark mode</title>
100
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
101
- stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-shadow">
102
- <path stroke="none" d="M0 0h24v24H0z" fill="none"/>
103
- <circle cx="12" cy="12" r="9" />
104
- <path d="M13 12h5" />
105
- <path d="M13 15h4" />
106
- <path d="M13 18h1" />
107
- <path d="M13 9h4" />
108
- <path d="M13 6h1" />
109
- </svg>
110
- </symbol>
111
- </svg>
112
-
113
- <input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
114
- <input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
115
- <label class="overlay sidebar-overlay" for="__navigation">
116
- <div class="visually-hidden">Hide navigation sidebar</div>
117
- </label>
118
- <label class="overlay toc-overlay" for="__toc">
119
- <div class="visually-hidden">Hide table of contents sidebar</div>
120
- </label>
121
-
122
-
123
-
124
- <div class="page">
125
- <header class="mobile-header">
126
- <div class="header-left">
127
- <label class="nav-overlay-icon" for="__navigation">
128
- <div class="visually-hidden">Toggle site navigation sidebar</div>
129
- <i class="icon"><svg><use href="#svg-menu"></use></svg></i>
130
- </label>
131
- </div>
132
- <div class="header-center">
133
- <a href="index"><div class="brand">Koffi</div></a>
134
- </div>
135
- <div class="header-right">
136
- <div class="theme-toggle-container theme-toggle-header">
137
- <button class="theme-toggle">
138
- <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
139
- <svg class="theme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
140
- <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
141
- <svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
142
- </button>
143
- </div>
144
- <label class="toc-overlay-icon toc-header-icon" for="__toc">
145
- <div class="visually-hidden">Toggle table of contents sidebar</div>
146
- <i class="icon"><svg><use href="#svg-toc"></use></svg></i>
147
- </label>
148
- </div>
149
- </header>
150
- <aside class="sidebar-drawer">
151
- <div class="sidebar-container">
152
-
153
- <div class="sidebar-sticky"><a class="sidebar-brand" href="index">
154
-
155
-
156
- <span class="sidebar-brand-text">Koffi</span>
157
-
158
- </a><form class="sidebar-search-container" method="get" action="search" role="search">
159
- <input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
160
- <input type="hidden" name="check_keywords" value="yes">
161
- <input type="hidden" name="area" value="default">
162
- </form>
163
- <div id="searchbox"></div><div class="sidebar-scroll"><div class="sidebar-tree">
164
- <ul class="current">
165
- <li class="toctree-l1"><a class="reference internal" href="platforms">Requirements</a></li>
166
- <li class="toctree-l1"><a class="reference internal" href="start">Quick start</a></li>
167
- <li class="toctree-l1"><a class="reference internal" href="types">Data types</a></li>
168
- <li class="toctree-l1"><a class="reference internal" href="functions">Functions</a></li>
169
- <li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Memory usage</a></li>
170
- <li class="toctree-l1"><a class="reference internal" href="benchmarks">Benchmarks</a></li>
171
- <li class="toctree-l1"><a class="reference internal" href="contribute">Contributing</a></li>
172
- <li class="toctree-l1"><a class="reference internal" href="changes">Changelog</a></li>
173
- </ul>
174
-
175
- </div>
176
- </div>
177
-
178
- </div>
179
-
180
- </div>
181
- </aside>
182
- <div class="main">
183
- <div class="content">
184
- <div class="article-container">
185
- <a href="#" class="back-to-top muted-link">
186
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
187
- <path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12z"></path>
188
- </svg>
189
- <span>Back to top</span>
190
- </a>
191
- <div class="content-icon-container">
192
- <div class="theme-toggle-container theme-toggle-content">
193
- <button class="theme-toggle">
194
- <div class="visually-hidden">Toggle Light / Dark / Auto color theme</div>
195
- <svg class="theme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
196
- <svg class="theme-icon-when-dark"><use href="#svg-moon"></use></svg>
197
- <svg class="theme-icon-when-light"><use href="#svg-sun"></use></svg>
198
- </button>
199
- </div>
200
- <label class="toc-overlay-icon toc-content-icon" for="__toc">
201
- <div class="visually-hidden">Toggle table of contents sidebar</div>
202
- <i class="icon"><svg><use href="#svg-toc"></use></svg></i>
203
- </label>
204
- </div>
205
- <article role="main">
206
- <section id="memory-usage">
207
- <h1>Memory usage<a class="headerlink" href="#memory-usage" title="Permalink to this heading">#</a></h1>
208
- <section id="how-it-works">
209
- <h2>How it works<a class="headerlink" href="#how-it-works" title="Permalink to this heading">#</a></h2>
210
- <p>For synchronous/normal calls, Koffi uses two preallocated memory blocks:</p>
211
- <ul class="simple">
212
- <li><p>One to construct the C stack and assign registers, subsequently used by the platform-specific assembly code (1 MiB by default)</p></li>
213
- <li><p>One to allocate strings and big objects/structs (2 MiB by default)</p></li>
214
- </ul>
215
- <p>Unless very big strings or objects (at least more than one page of memory) are used, Koffi does not directly allocate any extra memory during calls or callbacks. However, please note that the JS engine (V8) might.</p>
216
- <p>The size (in bytes) of these preallocated blocks can be changed. Use <code class="docutils literal notranslate"><span class="pre">koffi.config()</span></code> to get an object with the settings, and <code class="docutils literal notranslate"><span class="pre">koffi.config(obj)</span></code> to apply new settings.</p>
217
- <div class="highlight-js notranslate"><div class="highlight"><pre><span></span><span class="linenos">1</span><span class="kd">let</span> <span class="nx">config</span> <span class="o">=</span> <span class="nx">koffi</span><span class="p">.</span><span class="nx">config</span><span class="p">();</span>
218
- <span class="linenos">2</span><span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="nx">config</span><span class="p">);</span>
219
- </pre></div>
220
- </div>
221
- <p>The same is true for asynchronous calls. When an asynchronous call is made, Koffi will allocate new blocks unless there is an unused (resident) set of blocks still available. Once the asynchronous call is finished, these blocks are freed if there are more than <code class="docutils literal notranslate"><span class="pre">resident_async_pools</span></code> sets of blocks left around.</p>
222
- <p>There cannot be more than <code class="docutils literal notranslate"><span class="pre">max_async_calls</span></code> running at the same time.</p>
223
- </section>
224
- <section id="default-settings">
225
- <h2>Default settings<a class="headerlink" href="#default-settings" title="Permalink to this heading">#</a></h2>
226
- <div class="table-wrapper colwidths-auto docutils container">
227
- <table class="docutils align-default">
228
- <thead>
229
- <tr class="row-odd"><th class="head"><p>Setting</p></th>
230
- <th class="head"><p>Default</p></th>
231
- <th class="head"><p>Description</p></th>
232
- </tr>
233
- </thead>
234
- <tbody>
235
- <tr class="row-even"><td><p>sync_stack_size</p></td>
236
- <td><p>1 MiB</p></td>
237
- <td><p>Stack size for synchronous calls</p></td>
238
- </tr>
239
- <tr class="row-odd"><td><p>sync_heap_size</p></td>
240
- <td><p>2 MiB</p></td>
241
- <td><p>Heap size for synchronous calls</p></td>
242
- </tr>
243
- <tr class="row-even"><td><p>async_stack_size</p></td>
244
- <td><p>256 kiB</p></td>
245
- <td><p>Stack size for asynchronous calls</p></td>
246
- </tr>
247
- <tr class="row-odd"><td><p>async_heap_size</p></td>
248
- <td><p>512 kiB</p></td>
249
- <td><p>Heap size for asynchronous calls</p></td>
250
- </tr>
251
- <tr class="row-even"><td><p>resident_async_pools</p></td>
252
- <td><p>2</p></td>
253
- <td><p>Number of resident pools for asynchronous calls</p></td>
254
- </tr>
255
- <tr class="row-odd"><td><p>max_async_calls</p></td>
256
- <td><p>64</p></td>
257
- <td><p>Maximum number of ongoing asynchronous calls</p></td>
258
- </tr>
259
- </tbody>
260
- </table>
261
- </div>
262
- </section>
263
- </section>
264
-
265
- </article>
266
- </div>
267
- <footer>
268
-
269
- <div class="related-pages">
270
- <a class="next-page" href="benchmarks">
271
- <div class="page-info">
272
- <div class="context">
273
- <span>Next</span>
274
- </div>
275
- <div class="title">Benchmarks</div>
276
- </div>
277
- <svg><use href="#svg-arrow-right"></use></svg>
278
- </a>
279
- <a class="prev-page" href="functions">
280
- <svg><use href="#svg-arrow-right"></use></svg>
281
- <div class="page-info">
282
- <div class="context">
283
- <span>Previous</span>
284
- </div>
285
-
286
- <div class="title">Functions</div>
287
-
288
- </div>
289
- </a>
290
- </div>
291
- <div class="bottom-of-page">
292
- <div class="left-details">
293
- <div class="copyright">
294
- Copyright &#169; 2022, Niels Martignène
295
- </div>
296
- Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s
297
-
298
- <a href="https://github.com/pradyunsg/furo">Furo</a>
299
-
300
- </div>
301
- <div class="right-details">
302
- <div class="icons">
303
-
304
- </div>
305
- </div>
306
- </div>
307
-
308
- </footer>
309
- </div>
310
- <aside class="toc-drawer">
311
-
312
-
313
- <div class="toc-sticky toc-scroll">
314
- <div class="toc-title-container">
315
- <span class="toc-title">
316
- Contents
317
- </span>
318
- </div>
319
- <div class="toc-tree-container">
320
- <div class="toc-tree">
321
- <ul>
322
- <li><a class="reference internal" href="#">Memory usage</a><ul>
323
- <li><a class="reference internal" href="#how-it-works">How it works</a></li>
324
- <li><a class="reference internal" href="#default-settings">Default settings</a></li>
325
- </ul>
326
- </li>
327
- </ul>
328
-
329
- </div>
330
- </div>
331
- </div>
332
-
333
-
334
- </aside>
335
- </div>
336
- </div><script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
337
- <script src="_static/jquery.js"></script>
338
- <script src="_static/underscore.js"></script>
339
- <script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
340
- <script src="_static/doctools.js"></script>
341
- <script src="_static/scripts/furo.js"></script>
342
- </body>
343
- </html>
Binary file