Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
setRange
when copying output chunks to the final buffer in `Cod…
…edBufferWriter` (#887) Similar to #885, this optimizes some more buffer copying to `memcpy`. Results from the same benchmark in #885: | | Before | After | Diff | |------------------------------|------------|------------|---------------------| | AOT | 114,713 us | 109,838 us | - 4,875 us, -4.2% | | JIT | 91,960 us | 92,887 us | + 927 us, +1.0% | | dart2js -O4 | 259,125 us | 257,000 us | - 2,125 us, -0.8% | | dart2wasm --omit-type-checks | 196,909 us | 182,333 us | -14,576 us, -7.4% | AOT and JIT tested on x64.
- Loading branch information