[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/9] various cuts for memory savings
From: |
Eric Wong |
Subject: |
[PATCH 0/9] various cuts for memory savings |
Date: |
Sun, 23 Jan 2022 21:37:37 +0000 |
"dtas-tl prune" can simplify life a bit for users who frequently
replace/rename tracks on their FS (I do it while editing audio
with dtas-splitfx).
Moving to Ruby 2.3 lets us depend on a bunch of newer APIs and
compatibility code can be dropped, since YARV instructions for
old versions still remain. The overall difference isn't very
noticeable, but the diffstat showing deleted lines is nice.
Eric Wong (9):
deduplicate and freeze pathnames + metadata
player: remove omap conversion
dtas: drop unnecessary "require 'yaml'" statements
dtas-tl prune: cull missing files from tracklist
dtas-tl: drop encoding hacks, use binary stdout+stderr
use IO#wait_readable consistently
get rid of DTAS::Nonblock wrapper for Ruby <= 2.0
unix_accepted: drop Ruby < 2.3 support code
do not check IO#closed? before calling IO#close
Documentation/dtas-tl.pod | 4 ++-
bin/dtas-console | 1 -
bin/dtas-msinkctl | 1 -
bin/dtas-player | 3 +-
bin/dtas-readahead | 26 ++++-----------
bin/dtas-splitfx | 1 -
bin/dtas-tl | 55 +++++++++++++++++---------------
lib/dtas/buffer.rb | 4 +--
lib/dtas/buffer/read_write.rb | 3 +-
lib/dtas/edit_client.rb | 5 ++-
lib/dtas/mcache.rb | 4 +--
lib/dtas/nonblock.rb | 24 --------------
lib/dtas/pipe.rb | 5 ++-
lib/dtas/player.rb | 14 +++-----
lib/dtas/process.rb | 5 ++-
lib/dtas/sigevent/fiddle_efd.rb | 7 ++--
lib/dtas/sigevent/pipe.rb | 5 ++-
lib/dtas/sink.rb | 3 +-
lib/dtas/source/sox.rb | 2 +-
lib/dtas/source/splitfx.rb | 1 -
lib/dtas/track.rb | 2 +-
lib/dtas/unix_accepted.rb | 49 +++++++---------------------
lib/dtas/unix_client.rb | 4 +--
lib/dtas/unix_server.rb | 16 ++--------
lib/dtas/watchable.rb | 3 +-
lib/dtas/watchable/fiddle_ino.rb | 2 +-
test/player_integration.rb | 3 +-
test/test_buffer.rb | 2 +-
test/test_encoding.rb | 1 -
test/test_splitfx.rb | 1 -
test/test_tfx.rb | 1 -
test/test_unixserver.rb | 2 +-
32 files changed, 84 insertions(+), 175 deletions(-)
delete mode 100644 lib/dtas/nonblock.rb
- [PATCH 0/9] various cuts for memory savings,
Eric Wong <=
- [PATCH 1/9] deduplicate and freeze pathnames + metadata, Eric Wong, 2022/01/23
- [PATCH 2/9] player: remove omap conversion, Eric Wong, 2022/01/23
- [PATCH 3/9] dtas: drop unnecessary "require 'yaml'" statements, Eric Wong, 2022/01/23
- [PATCH 4/9] dtas-tl prune: cull missing files from tracklist, Eric Wong, 2022/01/23
- [PATCH 5/9] dtas-tl: drop encoding hacks, use binary stdout+stderr, Eric Wong, 2022/01/23
- [PATCH 6/9] use IO#wait_readable consistently, Eric Wong, 2022/01/23
- [PATCH 7/9] get rid of DTAS::Nonblock wrapper for Ruby <= 2.0, Eric Wong, 2022/01/23
- [PATCH 8/9] unix_accepted: drop Ruby < 2.3 support code, Eric Wong, 2022/01/23
- [PATCH 9/9] do not check IO#closed? before calling IO#close, Eric Wong, 2022/01/23