Commit Graph
15 Commits
Author SHA1 Message Date
belliash 8fcb3c608a Remove duplicate of SySetUsed() macro.
The build was successful.
2018-08-31 23:45:46 +02:00
belliash 041c65d63e Implement SySetGetUsed();
The build was successful.
2018-08-30 12:00:02 +02:00
belliash 2d99881240 Get rid of manual optimisation technique.
The build was successful.
This optimisation technique results in non insignificant speed boost on some old x86 architectures. Novadays, we should rely on compiler optimisation.
2018-08-21 06:27:07 +02:00
belliash 00dc23ee4a Get rid of manual optimisation technique resulting in non insignificant speed boost on some old x86 architectures, #38;
The build was successful.
2018-08-18 19:44:02 +02:00
belliash 4dbd3ea412 New memory subsystem.
The build was successful.
This is a new memory subsystem implementing heap calculations as well as new builtin functions:
 * get_memory_usage()
 * get_memory_peak_usage()
 * get_memory_limit()
It also allows to set an upper memory limit, ensuring that processed script will not be able to allocate more memory from OS.
New subsystem is based on work done in 'memory_limit' branch. Big thanks to devnexen!
This finally fixes #25.
2018-08-18 19:24:38 +02:00
Piotr Likoski 19f8cf2599 Comply with GCC extensions 2018-08-02 16:33:07 +02:00
yvan-burrie 6527b58b74 Fix ASM keyword in hash.c
See: https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
2018-08-02 02:54:01 +02:00
belliash a6a43b5f3b This is useless now 2018-07-27 21:19:59 +02:00
belliash c24a9bc251 Our implementation of SyStrncpy() 2018-07-27 08:22:55 +02:00
belliash e2aa774a6a Reimplement SyRealPath(); fix build. 2018-07-23 20:45:30 +02:00
belliash 52d9616503 Revert d937d0c825 2018-07-23 19:39:21 +02:00
devnexen dba8e5098f fixing in the vm context instead, making the feature available in case realpath could be implemented as well 2018-07-23 06:07:27 +01:00
belliash d1b874b391 Fix segmentation fault 2018-07-21 14:44:36 +02:00
belliash e394ce7d14 Divide libcox by Symisc into smaller logical chunks 2018-07-21 12:41:01 +02:00
belliash abb91a9874 Reorganize the repository for new build system 2018-07-20 22:35:09 +02:00