Commit 08ac9b6
src: improve node_crypto.cc memory allocation
This avoids heap allocations in common cases
PR-URL: #30751
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent cf19ec0 commit 08ac9b6Copy full SHA for 08ac9b6
File tree
Expand file treeCollapse file tree
1 file changed
+3
-4
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+3
-4
lines changedOpen diff view settings
Collapse file
+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2697 | 2697 | |
2698 | 2698 | |
2699 | 2699 | |
2700 | | - |
2701 | 2700 | |
2702 | 2701 | |
2703 | 2702 | |
2704 | 2703 | |
| 2704 | + |
2705 | 2705 | |
2706 | 2706 | |
2707 | 2707 | |
| ||
2765 | 2765 | |
2766 | 2766 | |
2767 | 2767 | |
2768 | | - |
2769 | | - |
| 2768 | + |
2770 | 2769 | |
2771 | 2770 | |
2772 | 2771 | |
2773 | | - |
| 2772 | + |
2774 | 2773 | |
2775 | 2774 | |
2776 | 2775 | |
|
0 commit comments