lean4-htt/src/runtime
Henrik Böving 52b687cab4
perf: less allocations when using string patterns (#11255)
This PR reduces the allocations when using string patterns. In
particular
`startsWith`, `dropPrefix?`, `endsWith`, `dropSuffix?` are optimized.
2025-11-19 13:06:27 +00:00
..
uv feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
alloc.cpp fix: heartbeats from realizeConst should be ignored (#7473) 2025-03-13 15:10:29 +00:00
alloc.h fix: heartbeats from realizeConst should be ignored (#7473) 2025-03-13 15:10:29 +00:00
allocprof.cpp
allocprof.h
apply.cpp fix: deallocation for closures in non default configurations (#11217) 2025-11-17 16:27:20 +00:00
apply.h
array_ref.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
buffer.h chore: re-land "perf: use C23's free_sized when available" (#6844) 2025-02-04 12:43:56 +00:00
byteslice.cpp feat: add useful functions in Parsec, add error variant and Std.Data.ByteSlice (#9599) 2025-09-11 14:53:41 +00:00
byteslice.h feat: add useful functions in Parsec, add error variant and Std.Data.ByteSlice (#9599) 2025-09-11 14:53:41 +00:00
CMakeLists.txt feat: add signal handling support using libuv (#9258) 2025-09-15 13:09:50 +00:00
compact.cpp chore: demote a panic to an exception in saveModuleData (#9127) 2025-09-02 12:25:45 +00:00
compact.h chore: lean --stats gives number of imported bytes (#8725) 2025-06-12 08:29:42 +00:00
debug.cpp
debug.h
exception.cpp
exception.h
flet.h
hash.cpp
hash.h
init_module.cpp feat: implement basic async IO with timers (#6505) 2025-01-13 18:11:04 +00:00
init_module.h
int.h feat: define ISize and basic operations on it (#5961) 2024-11-05 15:08:19 +00:00
interrupt.cpp feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
interrupt.h
io.cpp fix: make ST.Ref.ptrEq behave as stated in the docs (#11056) 2025-11-02 10:42:33 +00:00
io.h fix: handle NUL bytes in IO functions (#9616) 2025-08-01 06:12:53 +00:00
libuv.cpp feat: add signal handling support using libuv (#9258) 2025-09-15 13:09:50 +00:00
libuv.h feat: add signal handling support using libuv (#9258) 2025-09-15 13:09:50 +00:00
list_ref.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
memory.cpp feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
memory.h
mpn.cpp
mpn.h
mpz.cpp fix: undefined symbol without LEAN_USE_GMP (#9106) 2025-07-03 16:50:21 +00:00
mpz.h feat: optimized division without remainder for Int and Nat (#8089) 2025-04-29 07:23:35 +00:00
mutex.cpp feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
mutex.h
object.cpp perf: less allocations when using string patterns (#11255) 2025-11-19 13:06:27 +00:00
object.h fix: revert the waitAny refactoring (#11000) 2025-10-29 08:27:16 +00:00
object_ref.cpp
object_ref.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
option_ref.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
optional.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
pair_ref.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
platform.cpp feat: ignore lean -R if module name is in setup (#8874) 2025-06-23 17:55:52 +00:00
platform.h
process.cpp feat: zero cost BaseIO (#10625) 2025-10-22 10:55:12 +02:00
process.h
sharecommon.cpp feat: support mpz in the shareCommon APIs (#7838) 2025-04-06 19:52:50 +00:00
sharecommon.h perf: use mimalloc with important C++ hash maps (#7868) 2025-04-11 16:23:33 +00:00
sstream.h
stack_overflow.cpp
stack_overflow.h
stackinfo.cpp fix: make the stack handling more robust to sanitizers and -O3 (#6143) 2024-11-22 15:10:20 +00:00
stackinfo.h
string_ref.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
thread.cpp chore: remove old LEAN_AUTO_THREAD_FINALIZATION workaround (#8885) 2025-06-20 08:52:17 +00:00
thread.h perf: mark move constructors and assignment operators as noexcept (#10784) 2025-10-22 14:21:51 +00:00
utf8.cpp
utf8.h