mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove trailing whitespace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5547c65bdf
commit
a3de4a092d
2 changed files with 3 additions and 3 deletions
4
cont.c
4
cont.c
|
@ -28,9 +28,9 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Enable FIBER_USE_COROUTINE to make fiber yield/resume much faster by using native assembly implementations.
|
Enable FIBER_USE_COROUTINE to make fiber yield/resume much faster by using native assembly implementations.
|
||||||
|
|
||||||
rvm install ruby-head-ioquatix-native-fiber --url https://github.com/ioquatix/ruby --branch native-fiber
|
rvm install ruby-head-ioquatix-native-fiber --url https://github.com/ioquatix/ruby --branch native-fiber
|
||||||
|
|
||||||
# Without libcoro
|
# Without libcoro
|
||||||
koyoko% ./build/bin/ruby ./fiber_benchmark.rb 10000 1000
|
koyoko% ./build/bin/ruby ./fiber_benchmark.rb 10000 1000
|
||||||
setup time for 10000 fibers: 0.099961
|
setup time for 10000 fibers: 0.099961
|
||||||
|
|
|
@ -18,7 +18,7 @@ coroutine_transfer proc
|
||||||
push r15
|
push r15
|
||||||
|
|
||||||
; Save caller stack pointer
|
; Save caller stack pointer
|
||||||
mov [rcx], rsp
|
mov [rcx], rsp
|
||||||
|
|
||||||
; Restore callee stack pointer
|
; Restore callee stack pointer
|
||||||
mov rsp, [rdx]
|
mov rsp, [rdx]
|
||||||
|
|
Loading…
Reference in a new issue