History

Code clean-up Optimization in allocation pointer enumeration. - Removed needless division - Marked bitset<> as const, now indexing is a constexpr.

arr committed 10 years ago

Commit 8506dc61 parent 992a33f5 files · +14 −19Browse files

Showing the changes to src/vm/string.cpp (1 of 5 files). Show all

Unified · Split

src/vm/string.cpp+1−1
@@ -366,7 +366,7 @@ vm_string_t &vm_string_t::append(const vm_string_t &other) · 365 unmodified lines
366 if (_is_alloc)366 if (_is_alloc)
367 {367 {
368 free_memory(local_source);368 free_memory(local_source);
369 _mem.alloc = nullptr;369 debug::assign_debug_pointer(&_mem.alloc);
370 }370 }
371 371
372 _mem.alloc = new_source;372 _mem.alloc = new_source;