AuroraRuntime/Include/Aurora/Memory
Jamie Reece Wilson 83f34b0c47 [*] I was right. String views are [mostly] pointless (*)
03:28:55:638  17>2 of 53388 functions (<0.1%) were compiled, the rest were copied from previous compilation.
03:28:55:638  17>  0 functions were new in current compilation
03:28:55:638  17>  65 functions had inline decision re-evaluated but remain unchanged
03:28:56:749  17>Finished generating code

the header of const AuString & is the same as std::string_view therefore nothing changes. in fact, we still need to alloc strings a bunch of times for a zero terminated string. worse, <c++20 always allocs each time we want to access a hashmap with o(1) lookup, making small hashmaps kinda pointless when we always have to alloc+copy (thx std)

perhaps this will help some language binders
2024-04-19 05:58:08 +01:00
..
_ByteBuffer.hpp [+] ByteBuffer::WriteTagged<T> 2023-08-08 00:08:54 +01:00
ByteBuffer_Memory.inl [*] Harden AuByteBuffer against use after free 2024-03-18 08:47:37 +00:00
ByteBuffer_Position.inl [*] Harden AuByteBuffer against use after free 2024-03-18 08:47:37 +00:00
ByteBuffer_ReadWrite.inl [*] why not make these mean something while we can 2023-11-04 23:33:25 +00:00
ByteBuffer_Strings.inl [*] I was right. String views are [mostly] pointless (*) 2024-04-19 05:58:08 +01:00
ByteBuffer_TypedReadWrite.inl [*] I was right. String views are [mostly] pointless (*) 2024-04-19 05:58:08 +01:00
ByteBuffer_Utility.inl [*/+/-] MEGA COMMIT. ~2 weeks compressed. 2022-02-17 00:11:40 +00:00
ByteBuffer_Utils.inl [*] Harden AuByteBuffer 2024-03-09 06:57:19 +00:00
ByteBuffer_WriteFrom.inl [+] Futureproofing: AuByteBuffer flag 2023-06-10 21:50:00 +01:00
ByteBuffer.hpp [*] I was right. String views are [mostly] pointless (*) 2024-04-19 05:58:08 +01:00
ByteBufferPushReadState.hpp [*/+/-] MEGA COMMIT. ~2 weeks compressed. 2022-02-17 00:11:40 +00:00
ByteBufferPushWriteState.hpp [*/+/-] MEGA COMMIT. ~2 weeks compressed. 2022-02-17 00:11:40 +00:00
Cache.hpp New memory APIs 2022-03-21 05:20:19 +00:00
CppHeapWrapper.hpp [*] shit spec by shit for brains phd boomers 2024-03-25 13:37:18 +00:00
Heap.hpp [*] Polish AuMemory 2024-03-19 16:10:32 +00:00
HeapStats.hpp [*] Refactor public headers 2023-01-15 06:05:22 +00:00
Memory.hpp [*] Polish AuMemory 2024-03-19 16:10:32 +00:00
MemoryView.hpp [*] I was right. String views are [mostly] pointless (*) 2024-04-19 05:58:08 +01:00
MemRef.hpp Initial Commit 2021-06-27 22:25:29 +01:00
README.md [TODO: BLOCK 2 PROGRESS] 2022-06-14 02:14:51 +01:00
SwapLock.hpp New memory APIs 2022-03-21 05:20:19 +00:00
Transition.hpp [*] Creasing allocators 2022-03-26 16:18:50 +00:00

AuMemory

Example Usage:
File: HelloAurora/master/Tests/Public/15. Hello ByteBuffer/Main.cpp

Features

  • ByteBuffer
  • Optimize cache [heavy precache]
  • O(1) Heap Allocator (based on a hacked up external lib)
  • Purge Executable Memory Cache
  • Pin virtual memory into physical memory / SwapLock