Leonardo de Moura
|
ebd8f1efa7
|
chore: avoid object.h dependencies
|
2021-09-07 07:31:48 -07:00 |
|
Leonardo de Moura
|
6ced2cdece
|
refactor: move lean_name_eq to runtime, add lean_name_hash in C
|
2021-08-16 16:13:55 -07:00 |
|
Leonardo de Moura
|
14b611af96
|
refactor: move buffer.h and *_ref.h files to runtime
|
2021-08-16 15:39:38 -07:00 |
|
Sebastian Ullrich
|
3c91c9e874
|
feat: try memory-mapping .olean files on Windows
|
2021-08-04 16:40:57 +02:00 |
|
Sebastian Ullrich
|
fbdcaab009
|
feat: show number of mmap-ed modules in --stats
|
2021-08-04 16:40:57 +02:00 |
|
Sebastian Ullrich
|
4766ee0b5e
|
feat: try to mmap() .olean files on Linux & macOS
|
2021-08-04 16:40:57 +02:00 |
|
Sebastian Ullrich
|
4d8da44f50
|
feat: allow specifying virtual base address for compacted region
|
2021-08-04 16:40:57 +02:00 |
|
Sebastian Ullrich
|
450293e64a
|
feat: zero-copy GMP deserialization
|
2021-07-26 07:11:05 -07:00 |
|
Sebastian Ullrich
|
2b451a3fed
|
chore: remove obsolete serializer code
|
2021-07-22 18:59:39 +02:00 |
|
Sebastian Ullrich
|
5b1cfc25d8
|
chore: remove obsolete header
|
2021-07-22 18:26:58 +02:00 |
|
Leonardo de Moura
|
a019d8071f
|
chore: document simplified object header and remove obsolete cmake options
|
2021-07-20 10:42:28 -07:00 |
|
Leonardo de Moura
|
c59e72a77b
|
chore: cleaner lean_dec_ref, inline persistent object case
|
2021-07-20 10:42:28 -07:00 |
|
Leonardo de Moura
|
da66610fda
|
chore: cleanup
|
2021-07-20 10:42:28 -07:00 |
|
Leonardo de Moura
|
974caa97e6
|
chore: typo
|
2021-07-20 10:42:28 -07:00 |
|
Leonardo de Moura
|
489b28085f
|
feat: simpler and faster RC
|
2021-07-20 10:42:28 -07:00 |
|
Sebastian Ullrich
|
904cfd6fcb
|
perf: extract cold path in lean_alloc_small
|
2021-07-19 13:20:28 -07:00 |
|
Sebastian Ullrich
|
16fbbf98e9
|
perf: extract cold paths in lean_free_small and mark noinline
|
2021-07-19 13:20:28 -07:00 |
|
Sebastian Ullrich
|
52810bdfa0
|
chore: remove dead header
|
2021-07-19 13:20:28 -07:00 |
|
Leonardo de Moura
|
d0358810a7
|
feat: add lean_set_panic_messages
|
2021-06-29 14:30:56 -07:00 |
|
Leonardo de Moura
|
5ac2e14173
|
chore: add Hashable that uses UInt64
|
2021-06-02 07:47:41 -07:00 |
|
Leonardo de Moura
|
c566ad97a4
|
chore: prepare to use UInt64 hash codes
|
2021-06-02 06:51:18 -07:00 |
|
Sebastian Ullrich
|
8895ed47e5
|
refactor: clean up Thunk
Fixes a bug in the native implementation of `Thunk.bind` by deleting it
|
2021-04-22 20:29:08 -07:00 |
|
Leonardo de Moura
|
9901898258
|
feat: add Nat.gcd
This commit also fix some theorem names to new naming convention.
|
2021-03-07 18:47:02 -08:00 |
|
Leonardo de Moura
|
8afa96d6c8
|
fix: incorrect lean_dec, lean_nat_to_int consumes the argument
|
2021-03-07 12:57:58 -08:00 |
|
Joe Hendrix
|
9bd60c7519
|
feat: Nat/Fin/UInt instances of bitwise classes
|
2021-03-04 15:42:43 -08:00 |
|
Leonardo de Moura
|
bbed4aed50
|
chore: remove old code
|
2021-03-04 07:54:21 -08:00 |
|
Leonardo de Moura
|
51200c916e
|
chore: make explicit user and internal panics
|
2021-03-04 07:37:33 -08:00 |
|
Leonardo de Moura
|
504a015f9b
|
fix: borrowing annotations
|
2021-02-16 10:30:30 -08:00 |
|
Leonardo de Moura
|
09ad6cc50a
|
fix: fixes #306 fixes #307
|
2021-02-06 12:31:51 -08:00 |
|
Leonardo de Moura
|
36e70e9a08
|
fix: Int.mod implementation in the runtime
|
2021-01-31 08:50:06 -08:00 |
|
Leonardo de Moura
|
3fa1f355eb
|
fix: mod implementation
|
2021-01-31 08:19:32 -08:00 |
|
Leonardo de Moura
|
7cb566af15
|
chore: remove lean_alloc_ctor_big
|
2021-01-30 10:58:34 -08:00 |
|
Leonardo de Moura
|
cf5adbd4fe
|
chore: increase LEAN_MAX_SMALL_OBJECT_SIZE and simplify code
|
2021-01-30 10:58:34 -08:00 |
|
Leonardo de Moura
|
d71aab5dc4
|
fix: allow bigger ctor objects
`IR/Checker.lean` is now also checking the maximum number of fields
and scalar size
|
2021-01-29 18:23:38 -08:00 |
|
Leonardo de Moura
|
4848533717
|
fix: make sure we have "heartbeats" even when `-D SMALL_ALLOC=OFF"
|
2021-01-24 19:42:45 -08:00 |
|
Leonardo de Moura
|
acfac85ac0
|
feat: add IO.getNumHeartbeats
|
2021-01-24 17:45:50 -08:00 |
|
Sebastian Ullrich
|
1e623a961f
|
chore: debug assertion
|
2021-01-20 16:48:50 +01:00 |
|
Sebastian Ullrich
|
4a262fbc5b
|
fix: remove auto-cancellation of IO tasks
Chained tasks were never auto-canceled, so let's be explicit everywhere
|
2020-12-30 17:03:09 +01:00 |
|
Leonardo de Moura
|
c71eebde8c
|
chore: remove util/buffer.h dependency from runtime
|
2020-12-14 18:07:28 -08:00 |
|
Leonardo de Moura
|
bbafaf8805
|
fix: Array.mk and Array.data externs
|
2020-12-13 11:10:01 -08:00 |
|
Leonardo de Moura
|
6a41d04827
|
fix: missing panics
|
2020-12-08 10:36:53 -08:00 |
|
Leonardo de Moura
|
962cffbaaa
|
feat: add lean_float_of_decimal using GMP
|
2020-12-03 06:15:18 -08:00 |
|
Sebastian Ullrich
|
32b98a1d4a
|
chore: remove obsolete build options & other stuff
TODO: remove JSON with the old frontend
|
2020-10-14 18:57:11 +02:00 |
|
Leonardo de Moura
|
a454c5e660
|
chore: lean_is_shared
|
2020-10-11 15:10:39 -07:00 |
|
Sebastian Ullrich
|
9e9a036475
|
fix: exclusive MT objects cannot be reused as-is, so never reuse them
|
2020-10-11 17:43:28 +02:00 |
|
Sebastian Ullrich
|
562c7ed5ce
|
feat: expose task priorities
|
2020-09-29 08:01:10 -07:00 |
|
Sebastian Ullrich
|
f3ab43e453
|
doc: task_object state machine
|
2020-09-14 17:57:33 +02:00 |
|
Sebastian Ullrich
|
63d60e6564
|
fix: more robust m_keep_alive implementation not reliant on RC
|
2020-09-14 17:57:33 +02:00 |
|
Sebastian Ullrich
|
469a822cc6
|
chore: checkInterrupted ~> checkCanceled, requestInterrupt ~> cancel
|
2020-09-14 17:57:33 +02:00 |
|
Sebastian Ullrich
|
77cbaa752c
|
fix: Task: make reference and -j0 semantics eager, simplify
|
2020-09-14 17:57:33 +02:00 |
|