It would be significantly better to save image files in reverse order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simple-scan (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Use case:
Scan enough pages for your XUbuntu to start dumping memory into swap
Save as image files
What happens:
You first wait for the last pages to be swapped out and first pages converted
You then wait for the opposite thing
What would be significantly better:
You can write later pages first, using the fact that it is already in the memory at the end
I believe that it can be done as easily as changing the line 224 in book.vala
from:
for (var i = 0; i < n_pages; i++)
to:
for (var i = n_pages; i >= ; --i)
But i cannot test it, being unable to compile
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: simple-scan 3.28.0-0ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Mar 12 17:51:03 2019
InstallationDate: Installed on 2018-11-24 (107 days ago)
InstallationMedia: Xubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: ASUSTeK COMPUTER INC. N76VB
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: simple-scan
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/24/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: N76VB.205
dmi.board.
dmi.board.name: N76VB
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: N
dmi.product.name: N76VB
dmi.product.
dmi.sys.vendor: ASUSTeK COMPUTER INC.