Skip to content

Commit d8dfad5

Browse files
✨ feat: New pool logical to optimized memmory
1 parent e035feb commit d8dfad5

6 files changed

Lines changed: 636 additions & 12 deletions

File tree

includes/Canvas.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: cnatanae <cnatanae@student.42sp.org.br> +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2024/11/11 14:43:44 by cnatanae #+# #+# */
9-
/* Updated: 2025/02/08 16:25:49 by cnatanae ### ########.fr */
9+
/* Updated: 2025/02/08 16:59:36 by cnatanae ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

includes/Mem_pool.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: cnatanae <cnatanae@student.42sp.org.br> +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2024/12/06 10:25:51 by cnatanae #+# #+# */
9-
/* Updated: 2025/02/06 12:45:50 by cnatanae ### ########.fr */
9+
/* Updated: 2025/02/08 16:38:29 by cnatanae ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

@@ -22,6 +22,7 @@ typedef struct s_pool
2222
{
2323
size_t used;
2424
size_t size;
25+
size_t saved_point;
2526
void *mem;
2627
} t_pool;
2728

0 commit comments

Comments
 (0)