mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 01:04:38 +03:00
e394971209
Using a vector to represent a list of painting commands results in many reallocations, especially on pages with a lot of content. This change addresses it by introducing a SegmentedVector, which allows fast appending by representing a list as a sequence of fixed-size vectors. Currently, this new data structure supports only the operations used in RecordingPainter, which are appending and iterating.
99 lines
2.2 KiB
CMake
99 lines
2.2 KiB
CMake
set(AK_TEST_SOURCES
|
|
TestAllOf.cpp
|
|
TestAnyOf.cpp
|
|
TestArbitrarySizedEnum.cpp
|
|
TestArray.cpp
|
|
TestAtomic.cpp
|
|
TestBadge.cpp
|
|
TestBase64.cpp
|
|
TestBinaryHeap.cpp
|
|
TestBinarySearch.cpp
|
|
TestBitCast.cpp
|
|
TestBitmap.cpp
|
|
TestBitStream.cpp
|
|
TestBuiltinWrappers.cpp
|
|
TestByteBuffer.cpp
|
|
TestByteString.cpp
|
|
TestCharacterTypes.cpp
|
|
TestChecked.cpp
|
|
TestCircularBuffer.cpp
|
|
TestCircularDeque.cpp
|
|
TestCircularQueue.cpp
|
|
TestComplex.cpp
|
|
TestDisjointChunks.cpp
|
|
TestDistinctNumeric.cpp
|
|
TestDoublyLinkedList.cpp
|
|
TestEndian.cpp
|
|
TestEnumBits.cpp
|
|
TestFind.cpp
|
|
TestFixedArray.cpp
|
|
TestFixedPoint.cpp
|
|
TestFloatingPoint.cpp
|
|
TestFloatingPointParsing.cpp
|
|
TestFlyString.cpp
|
|
TestFormat.cpp
|
|
TestFuzzyMatch.cpp
|
|
TestGenericLexer.cpp
|
|
TestHashFunctions.cpp
|
|
TestHashMap.cpp
|
|
TestHashTable.cpp
|
|
TestHex.cpp
|
|
TestIPv4Address.cpp
|
|
TestIPv6Address.cpp
|
|
TestIndexSequence.cpp
|
|
TestInsertionSort.cpp
|
|
TestIntegerMath.cpp
|
|
TestIntrusiveList.cpp
|
|
TestIntrusiveRedBlackTree.cpp
|
|
TestJSON.cpp
|
|
TestLEB128.cpp
|
|
TestLexicalPath.cpp
|
|
TestMACAddress.cpp
|
|
TestMemory.cpp
|
|
TestMemoryStream.cpp
|
|
TestNeverDestroyed.cpp
|
|
TestNonnullOwnPtr.cpp
|
|
TestNonnullRefPtr.cpp
|
|
TestNumberFormat.cpp
|
|
TestOptional.cpp
|
|
TestOwnPtr.cpp
|
|
TestPrint.cpp
|
|
TestQueue.cpp
|
|
TestQuickSelect.cpp
|
|
TestQuickSort.cpp
|
|
TestRedBlackTree.cpp
|
|
TestRefPtr.cpp
|
|
TestSegmentedVector.cpp
|
|
TestSIMD.cpp
|
|
TestSinglyLinkedList.cpp
|
|
TestSlugify.cpp
|
|
TestSourceGenerator.cpp
|
|
TestSourceLocation.cpp
|
|
TestSpan.cpp
|
|
TestStack.cpp
|
|
TestStatistics.cpp
|
|
TestStdLibExtras.cpp
|
|
TestString.cpp
|
|
TestStringFloatingPointConversions.cpp
|
|
TestStringUtils.cpp
|
|
TestStringView.cpp
|
|
TestDuration.cpp
|
|
TestTrie.cpp
|
|
TestTuple.cpp
|
|
TestTypeTraits.cpp
|
|
TestTypedTransfer.cpp
|
|
TestUFixedBigInt.cpp
|
|
TestURL.cpp
|
|
TestUtf16.cpp
|
|
TestUtf8.cpp
|
|
TestVariant.cpp
|
|
TestVector.cpp
|
|
TestWeakPtr.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS AK_TEST_SOURCES)
|
|
serenity_test("${source}" AK)
|
|
endforeach()
|
|
|
|
target_link_libraries(TestString PRIVATE LibUnicode)
|