Commit graph

4874 commits

Author SHA1 Message Date
Justin Ethier
74248d98bd Support for LibTomMath 1.2.0 2019-10-22 19:03:20 -04:00
Justin Ethier
e9815b4028 Handle return values of bignum calls
Created a macro BIGNUM_CALL to make it easier to handle BN retun values. This also eliminates warnings from libtommath 1.2.0 :)
2019-10-22 19:01:17 -04:00
Justin Ethier
25acf652c2 mp_get_i32 already handles the sign 2019-10-22 16:39:00 -04:00
Justin Ethier
03abd758b5 Begin to handle tommath return values 2019-10-22 13:35:08 -04:00
Justin Ethier
e3a90cb3b1 Replace deprecated functions in tommath 1.2.0 2019-10-22 13:29:21 -04:00
Justin Ethier
6510a24550 Use new libtommath 2019-10-22 12:27:03 -04:00
Justin Ethier
ecb8c0388f Use new tommath 2019-10-22 12:26:55 -04:00
Justin Ethier
3ae9787a9b Added new release 2019-10-22 12:26:16 -04:00
Justin Ethier
bbc62d8d14 Cleanup 2019-10-18 13:09:41 -04:00
Justin Ethier
db66a876f7 Sync headers 2019-10-18 13:01:44 -04:00
Justin Ethier
864dc9f9c5 No need for duplicate definition of mp_get_double 2019-10-18 12:55:18 -04:00
Justin Ethier
676187078f Fix header paths 2019-10-18 10:40:20 -04:00
Justin Ethier
d54e20fc34 Fix header path 2019-10-18 10:38:55 -04:00
Justin Ethier
d3aa33f593 Fix header names 2019-10-18 10:38:00 -04:00
Justin Ethier
c0b0bfe228 Rename files 2019-10-18 10:37:21 -04:00
Justin Ethier
e4d5ef6976 New include 2019-10-17 18:37:00 -04:00
Justin Ethier
034402df20 Initial file, port of tommath files 2019-10-17 18:36:40 -04:00
Justin Ethier
be8c534739 Use our local library 2019-10-17 18:18:45 -04:00
Justin Ethier
4a4d2c57af Integrate bignum library 2019-10-17 18:17:19 -04:00
Justin Ethier
f143c26024 Build tommath as part of compilation 2019-10-17 10:01:11 -04:00
Justin Ethier
f5ad1da8b9 Initial import of files from ltm 1.1.0 2019-10-15 13:33:35 -04:00
Justin Ethier
e98e35ee5b Added -no-call-history flag
Allow for faster executables at the expense of call history.
2019-10-14 13:01:16 -04:00
Justin Ethier
8cf0745c62 Updated comment 2019-10-10 13:54:27 -04:00
Justin Ethier
4cb5b1db40 Added vpbuffer utility functions 2019-10-09 19:01:53 -04:00
Justin Ethier
1551c9a8b7 Fix spelling 2019-10-09 17:47:55 -04:00
Justin Ethier
c9428bcd90 Code cleanup 2019-10-09 13:04:29 -04:00
Justin Ethier
0f0c261785 Remove extraneous chars 2019-10-09 12:46:13 -04:00
Justin Ethier
900605f1fe Clean up old comments and dead code 2019-10-08 17:49:40 -04:00
Justin Ethier
f4c8326c78 Merge remote-tracking branch 'origin/master' 2019-10-03 16:23:16 -04:00
Justin Ethier
7786181722 Micro-optimization: speed up equal() a bit
Just see if x and y are the same before type checking; this shaves off a bit of time in the benchmark (IE, under heavy loads).
2019-10-03 16:22:01 -04:00
Justin Ethier
6d8ee08510
Update README.md 2019-09-27 22:35:40 -04:00
Justin Ethier
b92b352abb
Update README.md 2019-09-27 22:34:39 -04:00
Justin Ethier
495cc34490
Update README.md 2019-09-27 22:33:02 -04:00
Justin Ethier
c9f715a05f
Update Development.md
Fix spelling
2019-09-27 22:16:06 -04:00
Justin Ethier
17daa82bb9 Issue #340 - Fix u8 operations to work on integers 2019-09-27 13:38:44 -04:00
Justin Ethier
28c94c1e65 Bump to 0.11.5 2019-09-27 12:47:33 -04:00
Justin Ethier
42150cd3f0 Revised bug fix description 2019-09-26 18:03:03 -04:00
Justin Ethier
fdab84493e Prep for 0.11.4 release 2019-09-26 17:52:29 -04:00
Justin Ethier
f7e6c11108 Port gc_is_stack_obj to a macro
This avoids function calls and can improve performance in extreme cases.
2019-09-26 17:24:27 -04:00
Justin Ethier
a18ba5eaf8 Note latest change 2019-09-26 10:08:12 -04:00
Justin Ethier
51919cfdf8 Speed up object mutation
No need to track for minor GC purposes unless we are mutating a heap variable to point to a stack var.
2019-09-26 10:07:10 -04:00
Justin Ethier
b829abadfb Issue #339 2019-09-23 13:32:47 -04:00
Justin Ethier
e211e3f64d Issue #339 - Fix fast path in make-string
We need to ensure the code point buffer only contains a single byte in order to use the fast path for string creation. For example if there is one code point that is 2 bytes large we need to use the slow path.
2019-09-23 13:28:52 -04:00
Justin Ethier
e6c23e25c1 Issue #337
Added `open-binary-input-file` and `open-binary-output-file` from R7RS.
2019-09-15 10:40:06 -04:00
Justin Ethier
60e9007d57 Speed up (complex?) 2019-09-13 12:31:18 -04:00
Justin Ethier
829f7d86b0 Issue #336 - Compiler validation for "if" 2019-09-10 18:52:44 -04:00
Justin Ethier
95922d257e Only print when debugging as a program 2019-09-10 17:47:26 -04:00
Justin Ethier
526032e52f Include new file 2019-09-10 17:47:03 -04:00
Justin Ethier
c39465e6cf Sync new file 2019-09-10 17:36:06 -04:00
Justin Ethier
30fd74792f Rename function 2019-09-10 17:35:49 -04:00