FastLED 3.9.15
Loading...
Searching...
No Matches

◆ reserve()

void fl::StringInterner::reserve ( fl::size count)

Definition at line 99 of file string_interner.cpp.hpp.

99 {
100 // unordered_map doesn't have reserve(), but we can set the bucket count
101 // This pre-allocates buckets to avoid rehashing
102 if (count > 0) {
103 mEntries.rehash(count);
104 }
105}
fl::unordered_map< string_view, StringHolderPtr > mEntries

References mEntries.