Benoit Blanchon
|
86cbf3522b
|
Extract VariantImpl
|
2025-09-17 21:18:28 +02:00 |
|
Benoit Blanchon
|
dddc4912c4
|
Don't store string literals by pointer anymore
Fixes #2189
|
2025-08-28 10:04:11 +02:00 |
|
Benoit Blanchon
|
411424b74e
|
CI: upgrade clang-tidy
|
2025-05-20 20:55:01 +02:00 |
|
Benoit Blanchon
|
91397f9f06
|
Optimize storage of tiny strings (up to 3 characters)
|
2025-04-09 08:55:08 +02:00 |
|
Benoit Blanchon
|
05b68fc7cc
|
Change StringBuilder::save() to take a VariantData*
|
2025-02-28 09:59:46 +01:00 |
|
Benoit Blanchon
|
01e49b33b7
|
Update copyright year
|
2025-02-24 15:18:26 +01:00 |
|
Benoit Blanchon
|
a1809d0f31
|
Replace sizeof(VariantData) with sizeof(SlotData)
|
2024-09-10 18:26:58 +02:00 |
|
Benoit Blanchon
|
362201241f
|
Make MemoryPool generic
|
2024-08-25 14:58:23 +02:00 |
|
Benoit Blanchon
|
2be24eded8
|
Rename SlotWithId::slot() and VariantWithId::data() to ptr()
|
2024-08-25 14:54:45 +02:00 |
|
Benoit Blanchon
|
4327f72140
|
Remove VariantSlot
|
2024-08-25 14:45:59 +02:00 |
|
Benoit Blanchon
|
f2894552f2
|
Rename VariantPool to MemoryPool
|
2024-08-25 14:36:38 +02:00 |
|
Benoit Blanchon
|
d3721cb122
|
Make VariantSlot a union . Include next slot id in VariantData
|
2024-08-24 19:20:39 +02:00 |
|
Benoit Blanchon
|
60f9f7eff6
|
Move CollectionData::releaseSlot() to ResourceManager::freeSlot()
|
2024-05-17 17:10:45 +02:00 |
|
Benoit Blanchon
|
98fca74f66
|
Fix undefined reference to VariantPool::usage()
|
2024-05-16 17:47:07 +02:00 |
|
Benoit Blanchon
|
0e8a236583
|
Update copyright year
|
2024-01-03 08:47:06 +01:00 |
|
Benoit Blanchon
|
fc1f06822c
|
CI: add GCC 12
|
2023-08-10 18:25:53 +02:00 |
|
Benoit Blanchon
|
9a11d98117
|
Tests: make allocator assertions more readable
|
2023-07-26 09:28:21 +02:00 |
|
Benoit Blanchon
|
30ec507989
|
Tests: use a consistent naming convention for allocators
|
2023-07-25 14:53:54 +02:00 |
|
Benoit Blanchon
|
7a76da3bc7
|
Tests: rename ControllableAllocator to KillswitchAllocator
|
2023-07-25 14:46:25 +02:00 |
|
Benoit Blanchon
|
228c4cf9fa
|
JsonDocument: use the copy-and-swap idiom
|
2023-07-24 10:13:17 +02:00 |
|
Benoit Blanchon
|
1a14499612
|
Preallocate pool list
|
2023-07-21 17:57:13 +02:00 |
|
Benoit Blanchon
|
f427706e06
|
VariantPoolList: handle SlotId overflow
|
2023-07-21 17:57:13 +02:00 |
|
Benoit Blanchon
|
727a1013ca
|
Recycle removed slots
|
2023-07-20 18:04:06 +02:00 |
|
Benoit Blanchon
|
0f319e7ca4
|
Remove capacity from JsonDocument 's constructor
|
2023-07-18 09:08:55 +02:00 |
|
Benoit Blanchon
|
42b2840009
|
Create more memory pools as needed (resolves #1074)
|
2023-07-18 09:08:55 +02:00 |
|
Benoit Blanchon
|
c4e5051a7a
|
Store index of slot in the pool instead of a pointer or a distance
|
2023-07-17 11:20:46 +02:00 |
|
Benoit Blanchon
|
0f511b873d
|
VariantPool: store VariantSlot s instead of char s
|
2023-07-12 15:03:56 +02:00 |
|
Benoit Blanchon
|
d90b36c009
|
Extract VariantPool from ResourceManager
|
2023-06-18 10:14:39 +02:00 |
|
Benoit Blanchon
|
8147625921
|
ResourceManager: replace allocFromPool() with allocVariant()
|
2023-06-18 10:14:39 +02:00 |
|
Benoit Blanchon
|
4871380060
|
Rename MemoryPool to ResourceManager
|
2023-06-18 10:14:39 +02:00 |
|