Elliot Glaysher
356f9fc9ac
Shrink preallocation of cells from 262.144 cells to 4.096
...
Everytime a new road is constructed, a new bank of cells is
allocated and initialized. This lead to over three megabytes of
memory being allocated and accessed on each road change. This takes
more than 1ms to complete.
Road changes occur on each virtualization call. Each +soft happens
virtualized; so each +soft call incurs a 1ms delay. The metavase
machinery does at least two (and usually three) softs per card move
meaning sending a card move through arvo usually incurs a 3ms delay.
Before this patch, the following line took six seconds to execute.
Now it is imperceivable:
```
~:(turn (gulf 0 10.000) |=(a=@ud (mule |.(a))))
```
2018-11-23 13:05:39 -08:00
Paul Driver
5c0232a42b
bug in _box_slot
2018-05-26 20:49:11 -07:00
Shaun Kerr
152e206d18
Removed unused variable. Closes #907
2018-05-15 14:51:52 +12:00
Paul Driver
087b674a37
Revert "Revert "Merge pull request #941 from frodwith/runtime-overflows""
...
This reverts commit 074a293257
.
2018-03-19 09:12:39 -07:00
Keaton Dunsford
074a293257
Revert "Merge pull request #941 from frodwith/runtime-overflows"
...
This reverts commit 67d3460a91
, reversing
changes made to 8d0f6cf3a6
.
2018-03-12 16:42:39 -07:00
Paul Driver
3be6b258b0
be more unified about unification (and fix a crash)
2018-01-24 15:27:21 -08:00
Paul Driver
714d7e7608
use explicit stack in unifying equals
2018-01-23 17:22:27 -08:00
C. Guy Yarvin
fafc897b62
Improved diganostics.
2017-11-16 18:35:26 -08:00
C. Guy Yarvin
f59222bba8
Fix reclaim logic bug.
2017-11-16 18:31:09 -08:00
C. Guy Yarvin
8c20c3dcdf
Larger slab allocations make profiling work.
2017-11-16 11:44:52 -08:00
C. Guy Yarvin
70a4dcf448
Cleanups and inlining.
2017-11-15 17:09:00 -08:00
C. Guy Yarvin
8d5ac23ab2
Minor debugging cleanups.
2017-11-14 15:24:42 -08:00
C. Guy Yarvin
806ee33e5f
Actually works this time.
2017-11-13 23:18:18 -08:00
C. Guy Yarvin
3732697153
Hashtable merge passes basic live reclaim test.
2017-11-13 22:49:34 -08:00
C. Guy Yarvin
fc53b339a4
Working with some debug stuff.
2017-11-13 20:35:34 -08:00
C. Guy Yarvin
3d2ed11bb7
Merge branch 'retrofit-cash' into retrofit
2017-11-13 09:49:37 -08:00
C. Guy Yarvin
0b31bad54e
Correct and disable memory tracking.
2017-11-13 09:06:10 -08:00
C. Guy Yarvin
25564c3f5f
Merge remote-tracking branch 'belisarius222/hash-cash-rebase' into retrofit-cash
2017-11-12 17:51:27 -08:00
C. Guy Yarvin
abb7f1d756
Various profiling and allocation improvements.
2017-11-12 16:15:09 -08:00
C. Guy Yarvin
4e3a730804
Grab big blocks of cells for the cell allocator.
2017-11-11 18:00:35 -08:00
C. Guy Yarvin
9117d1aabd
Suppress annoying messages in GC mode.
2017-11-10 17:15:26 -08:00
Ted Blackman
34ed9c4501
trim cache and retry allocation
2017-11-10 14:07:23 -08:00
Fredrik Ekholdt
6fb07df84c
Fixes #735 : misleading indent on gcc 6
2016-06-02 09:05:43 +02:00
Raymond Pasco
ffd2abbbe8
ifdef out watermark stuff
2015-07-15 15:14:41 -04:00
C. Guy Yarvin
8056960881
Initial commit of memory-bug.
2015-07-15 15:14:41 -04:00
Philip C Monk
9edda1bb73
descriptive names for c files
...
fixes #294
2015-06-23 21:29:11 -04:00