[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] chars: use a fixed piece of memory instead allo
From: |
Mike Frysinger |
Subject: |
Re: [Nano-devel] [PATCH] chars: use a fixed piece of memory instead allocating+freeing all the time |
Date: |
Fri, 16 Dec 2016 18:28:22 -0500 |
On 16 Dec 2016 18:06, Benno Schulenberg wrote:
at face value, this is kind of scary. are there guarantees
to keep re-use from happening across funcs/modules ?
can't we utilize the stack for this ?
char symbol[mb_cur_max() + 1];
seems like mb_cur_max() should be made into an inline func
too ...
-mike
signature.asc
Description: Digital signature