1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-15 07:47:40 +00:00

Remove mutable operators on inttypes.

Mutations break hash table invariants, are a rather
silly performance optimization for a language like Janet.
This commit is contained in:
Calvin Rose
2020-01-21 17:47:34 -06:00
parent 1ec2e08f21
commit 7c92c64730
2 changed files with 0 additions and 56 deletions

View File

@@ -72,9 +72,6 @@
"trap INT64_MIN / -1"
(:/ (int/s64 "-0x8000_0000_0000_0000") -1))
# in place operators
(assert (let [a (u64 1e10)] (:+! a 1000000 "1000000" "0xffff") (:= a 10002065535)) "in place operators")
# int64 typed arrays
(assert (let [t (tarray/new :int64 10)
b (i64 1000)]