On Fri, Aug 4, 2017 at 10:52 AM, Samuel Pitoiset
wrote:
>
>
> On 08/04/2017 10:33 AM, Marek Olšák wrote:
>>
>> On Fri, Aug 4, 2017 at 10:06 AM, Samuel Pitoiset
>> wrote:
>>>
>>>
>>>
>>> On 08/01/2017 09:54 PM, Marek Olšák wrote:
On 08/04/2017 10:33 AM, Marek Olšák wrote:
On Fri, Aug 4, 2017 at 10:06 AM, Samuel Pitoiset
wrote:
On 08/01/2017 09:54 PM, Marek Olšák wrote:
Hi Samuel,
Can you move this slot allocator into a util module? It seems generic
enough that it could be reused for
On Fri, Aug 4, 2017 at 10:06 AM, Samuel Pitoiset
wrote:
>
>
> On 08/01/2017 09:54 PM, Marek Olšák wrote:
>>
>> Hi Samuel,
>>
>> Can you move this slot allocator into a util module? It seems generic
>> enough that it could be reused for "handle" and "ID" allocations.
>>
On 08/01/2017 09:54 PM, Marek Olšák wrote:
Hi Samuel,
Can you move this slot allocator into a util module? It seems generic
enough that it could be reused for "handle" and "ID" allocations.
Some additional notes:
- a bit array of uin32_t would be better. bool is too large (1 byte).
- "free"
On Thu, Aug 3, 2017 at 12:12 PM, Samuel Pitoiset
wrote:
>
>
> On 08/01/2017 09:54 PM, Marek Olšák wrote:
>>
>> Hi Samuel,
>>
>> Can you move this slot allocator into a util module? It seems generic
>> enough that it could be reused for "handle" and "ID" allocations.
>
>
On 08/01/2017 09:54 PM, Marek Olšák wrote:
Hi Samuel,
Can you move this slot allocator into a util module? It seems generic
enough that it could be reused for "handle" and "ID" allocations.
What do you mean by "ID" allocations?
Some additional notes:
- a bit array of uin32_t would be
Hi Samuel,
Can you move this slot allocator into a util module? It seems generic
enough that it could be reused for "handle" and "ID" allocations.
Some additional notes:
- a bit array of uin32_t would be better. bool is too large (1 byte).
- "free" is the inverse of "used", so the "used" array