diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-19 10:30:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-19 10:37:10 +0900 |
| commit | d3184e4a6d8b85a22dd46f4e2909492a0a08cab1 (patch) | |
| tree | b45f9be65a970d80d4b60401e44d053f3b78b394 /doc/opcode.md | |
| parent | 08f9d5bab5092fe1193dd100765079e3e4d746b9 (diff) | |
| download | mruby-d3184e4a6d8b85a22dd46f4e2909492a0a08cab1.tar.gz mruby-d3184e4a6d8b85a22dd46f4e2909492a0a08cab1.zip | |
complex.c: overhaul complex operators.
- define `MRB_TT_COMPLEX`
- change object structure (`struct RComplex`)
- add memory management for `MRB_TT_COMPLEX`
- avoid operator overloading as much as possible
- as a result, performance improved a log
- should work with and without `Rational` defined
Diffstat (limited to 'doc/opcode.md')
0 files changed, 0 insertions, 0 deletions
