[Include] YSI 4
#58

Load where? Compile times? Server start? Downloading from github?

Compile times went up a lot because I had to revert a change to y_malloc. Originally it used a huge array as its memory pool, but that took a long time to compile and people complained. I switched to using the heap instead, exploiting a bug to reserve a section of the heap for private use; this drastically reduced compile times as the heap is allocated at run-time, but as I'm sure you can imaging, exploiting bugs is not entirely stable. It seemed that after a few restarts, things just stopped working and I did not know why. So I had to revert to the old, more stable but slower to compile, method.

Server startup should not take that long unless you have a really slow machine. However, YSI does do a lot of work at initialisation, but that work is all designed to pre-compute things and make the rest of your execution faster. I've never really cared about startup times - servers run for days or weeks at a time, fifteen seconds is a tiny price to pay IMHO and worrying over nothing (although people here do seem to like doing that, as proven by the topics asking if "if" or "switch" are faster).

Download times going up could be because github has been having a service outage the last few days, so that should clear up soon.
Reply


Messages In This Thread
YSI 4 - by Misiur - 14.04.2015, 14:22
Re: YSI 4 - by Emmet_ - 14.04.2015, 18:04
Re: YSI 4 - by Crayder - 14.04.2015, 22:09
Re: YSI 4 - by $$inSane - 15.04.2015, 04:55
Re : YSI 4 - by DexX39 - 15.04.2015, 07:48
Re: YSI 4 - by Misiur - 16.04.2015, 12:04
Re: YSI 4 - by PaulDinam - 16.04.2015, 13:03
Re: YSI 4 - by Misiur - 16.04.2015, 13:58
Re: YSI 4 - by PaulDinam - 16.04.2015, 21:02
Re: YSI 4 - by Misiur - 16.04.2015, 21:48
Re: YSI 4 - by feheristi97 - 16.04.2015, 22:35
Re: YSI 4 - by Misiur - 16.04.2015, 22:42
Re: YSI 4 - by Ahmad45123 - 17.04.2015, 11:23
Re: YSI 4 - by RaeF - 18.04.2015, 11:48
Re: YSI 4 - by Misiur - 18.04.2015, 11:53
Re: YSI 4 - by Misiur - 03.05.2015, 13:46
Re: YSI 4 - by PT - 03.05.2015, 15:16
Re: YSI 4 - by theYiin - 03.05.2015, 18:29
Re: YSI 4 - by sammp - 03.05.2015, 19:36
Re: YSI 4 - by PT - 03.05.2015, 21:01
Re: YSI 4 - by Crayder - 03.05.2015, 21:39
Re: YSI 4 - by sammp - 03.05.2015, 22:10
Re: YSI 4 - by Crayder - 03.05.2015, 23:30
Re: YSI 4 - by ihatetn931 - 04.05.2015, 01:06
Re: YSI 4 - by RaeF - 04.05.2015, 04:11
Re: YSI 4 - by ihatetn931 - 04.05.2015, 05:00
Re: YSI 4 - by RaeF - 04.05.2015, 08:04
Re: YSI 4 - by ihatetn931 - 04.05.2015, 08:08
Re: YSI 4 - by FernandoLight - 18.05.2015, 19:29
Re: YSI 4 - by Misiur - 20.06.2015, 12:03
Re: YSI 4 - by kristo - 20.06.2015, 12:05
Re: YSI 4 - by Crayder - 20.06.2015, 15:20
Re: YSI 4 - by ball - 20.06.2015, 15:54
Re: YSI 4 - by kristo - 22.06.2015, 20:17
Re: YSI 4 - by Crayder - 23.06.2015, 02:44
Re: YSI 4 - by andyandyy8 - 24.06.2015, 09:25
Re: YSI 4 - by ZZ - 26.06.2015, 16:29
Re: YSI 4 - by Misiur - 26.06.2015, 18:32
Re: YSI 4 - by Misiur - 26.06.2015, 20:55
Re: YSI 4 - by DetoNater - 20.11.2016, 14:51
Re: YSI 4 - by GhostKiller123 - 03.01.2017, 06:36
Re: YSI 4 - by Konstantinos - 03.01.2017, 11:58
Re: YSI 4 - by ThomasTailor93 - 24.01.2017, 19:54
Re: YSI 4 - by PT - 24.01.2017, 19:58
Re: YSI 4 - by ThomasTailor93 - 24.01.2017, 20:12
Re: YSI 4 - by Penguin1997 - 24.01.2017, 21:55
Re: YSI 4 - by PT - 24.01.2017, 23:31
Re: YSI 4 - by ThomasTailor93 - 25.01.2017, 21:18
Re: YSI 4 - by Crayder - 25.01.2017, 21:27
Re: YSI 4 - by xogud807 - 26.01.2017, 01:19
Re: YSI 4 - by ThomasTailor93 - 26.01.2017, 13:48
Re: YSI 4 - by Crayder - 26.01.2017, 19:35
Re: YSI 4 - by Sjn - 19.04.2017, 14:13
Re: YSI 4 - by Freedom. - 28.07.2017, 13:13
Re: YSI 4 - by Misiur - 29.07.2017, 10:54
Re: YSI 4 - by Freedom. - 29.07.2017, 21:37
Re: YSI 4 - by Unrea1 - 31.07.2017, 21:08
Re: YSI 4 - by Y_Less - 01.08.2017, 09:54
Re: YSI 4 - by Unrea1 - 01.08.2017, 22:23
Re: YSI 4 - by Y_Less - 02.08.2017, 14:20
Re: YSI 4 - by Michalec - 06.08.2017, 19:42
Re: YSI 4 - by Misiur - 06.08.2017, 19:43
Re: YSI 4 - by Michalec - 06.08.2017, 19:45
Re: YSI 4 - by Misiur - 06.08.2017, 19:49
Re: YSI 4 - by Michalec - 06.08.2017, 19:56
Re: YSI 4 - by AbyssMorgan - 29.08.2017, 20:18
Re: YSI 4 - by AbyssMorgan - 29.08.2017, 20:24
Re: YSI 4 - by Misiur - 29.08.2017, 20:26
Re: YSI 4 - by Y_Less - 30.08.2017, 22:10
Re: YSI 4 - by Manyula - 25.12.2017, 09:56
Re: YSI 4 - by Y_Less - 27.12.2017, 19:28
Re: YSI 4 - by Misiur - 18.01.2018, 15:30
Re: YSI 4 - by Zeth - 18.01.2018, 15:32
Re: YSI 4 - by Manyula - 25.01.2018, 19:10
Re: YSI 4 - by Y_Less - 27.01.2018, 12:23
Re: YSI 4 - by wallee - 27.01.2018, 12:44
Re: YSI 4 - by sidney123 - 20.08.2018, 11:08
Re: YSI 4 - by 2Col - 20.08.2018, 11:17
Re: YSI 4 - by Y_Less - 20.08.2018, 11:28
Re: YSI 4 - by wallee - 08.09.2018, 06:55
Re: YSI 4 - by James Bob - 27.01.2019, 22:33

Forum Jump:


Users browsing this thread: 13 Guest(s)